pub struct GithubPagesView {
pub build_type: Option<String>,
pub cname: Option<String>,
pub custom404: Option<bool>,
pub https_enforced: Option<bool>,
pub repo: Option<String>,
pub source: Option<Box<GithubPagesSource>>,
pub status: Option<String>,
pub url: Option<String>,
}Fields§
§build_type: Option<String>BuildType is the builder in use: "legacy" (branch source) or "workflow".
cname: Option<String>CNAME is the custom domain, absent when none is set.
custom404: Option<bool>Custom404 is whether the repo ships its own 404 page.
https_enforced: Option<bool>HTTPSEnforced is GitHub’s enforce-HTTPS bit.
repo: Option<String>Repo is the repository the site belongs to.
source: Option<Box<GithubPagesSource>>Source is the branch + path the site builds from. Absent under "workflow".
status: Option<String>Status is GitHub’s build state: "built", "building" or "errored". Absent before the first build.
url: Option<String>URL is the live site (GitHub’s html_url).
Implementations§
Source§impl GithubPagesView
impl GithubPagesView
pub fn new() -> GithubPagesView
Trait Implementations§
Source§impl Clone for GithubPagesView
impl Clone for GithubPagesView
Source§fn clone(&self) -> GithubPagesView
fn clone(&self) -> GithubPagesView
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 GithubPagesView
impl Debug for GithubPagesView
Source§impl Default for GithubPagesView
impl Default for GithubPagesView
Source§fn default() -> GithubPagesView
fn default() -> GithubPagesView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubPagesView
impl<'de> Deserialize<'de> for GithubPagesView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GithubPagesView
impl PartialEq for GithubPagesView
Source§impl Serialize for GithubPagesView
impl Serialize for GithubPagesView
impl StructuralPartialEq for GithubPagesView
Auto Trait Implementations§
impl Freeze for GithubPagesView
impl RefUnwindSafe for GithubPagesView
impl Send for GithubPagesView
impl Sync for GithubPagesView
impl Unpin for GithubPagesView
impl UnsafeUnpin for GithubPagesView
impl UnwindSafe for GithubPagesView
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