pub struct Pages {
pub build_type: BuildType,
pub source: Option<Source>,
pub cname: Option<String>,
pub https_enforced: bool,
}Expand description
A Pages site as GitHub reports it.
Fields§
§build_type: BuildTypeHow the site is built. GitHub omits it for old legacy sites.
source: Option<Source>The published branch and folder, when GitHub reports them.
cname: Option<String>The 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.