pub struct Pages {
pub enabled: bool,
pub build_type: BuildType,
pub source: Source,
pub cname: Option<String>,
pub https_enforced: bool,
}Expand description
Desired Pages site of a repository.
Fields§
§enabled: boolWhether the site exists. When false, ephemeris deletes the site.
build_type: BuildTypeHow the site is built.
source: SourceThe published branch and folder, used by legacy builds.
cname: Option<String>The custom domain. Null means no custom domain.
https_enforced: boolWhether HTTPS is required.
Trait Implementations§
impl Eq for Pages
impl StructuralPartialEq for Pages
Auto Trait Implementations§
impl Freeze for Pages
impl RefUnwindSafe for Pages
impl Send for Pages
impl Sync for Pages
impl Unpin for Pages
impl UnsafeUnpin for Pages
impl UnwindSafe for Pages
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.