pub struct PagesUpdate {
pub cname: Option<String>,
pub https_enforced: bool,
pub build_type: BuildType,
pub source: Source,
}Expand description
The body that updates a Pages site.
Fields§
§cname: Option<String>The custom domain. Null removes it.
https_enforced: boolWhether HTTPS is required.
build_type: BuildTypeHow the site is built.
source: SourceThe published branch and folder.
Trait Implementations§
Source§impl Clone for PagesUpdate
impl Clone for PagesUpdate
Source§fn clone(&self) -> PagesUpdate
fn clone(&self) -> PagesUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PagesUpdate
impl Debug for PagesUpdate
impl Eq for PagesUpdate
Source§impl<'ʄ> Facet<'ʄ> for PagesUpdate
impl<'ʄ> Facet<'ʄ> for PagesUpdate
Source§impl PartialEq for PagesUpdate
impl PartialEq for PagesUpdate
impl StructuralPartialEq for PagesUpdate
Auto Trait Implementations§
impl Freeze for PagesUpdate
impl RefUnwindSafe for PagesUpdate
impl Send for PagesUpdate
impl Sync for PagesUpdate
impl Unpin for PagesUpdate
impl UnsafeUnpin for PagesUpdate
impl UnwindSafe for PagesUpdate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.