pub struct GithubPagesUpdateReq {
pub branch: Option<String>,
pub build_type: Option<String>,
pub cname: Option<String>,
pub https_enforced: Option<bool>,
pub path: Option<String>,
pub repo: Option<String>,
}Fields§
§branch: Option<String>Branch switches the legacy source branch. Empty leaves the source alone.
build_type: Option<String>BuildType switches the builder: "legacy" or "workflow". Empty leaves it.
cname: Option<String>CNAME is the custom domain. Omit to leave it alone, "" to clear it, or a valid FQDN to set it.
https_enforced: Option<bool>HTTPSEnforced toggles GitHub’s enforce-HTTPS bit. Omit to leave it alone.
path: Option<String>Path is the source directory to pair with Branch: "/" (the default) or "/docs". Read only when Branch is given.
repo: Option<String>Repo is the repository, from the :repo path segment.
Implementations§
Source§impl GithubPagesUpdateReq
impl GithubPagesUpdateReq
pub fn new() -> GithubPagesUpdateReq
Trait Implementations§
Source§impl Clone for GithubPagesUpdateReq
impl Clone for GithubPagesUpdateReq
Source§fn clone(&self) -> GithubPagesUpdateReq
fn clone(&self) -> GithubPagesUpdateReq
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 GithubPagesUpdateReq
impl Debug for GithubPagesUpdateReq
Source§impl Default for GithubPagesUpdateReq
impl Default for GithubPagesUpdateReq
Source§fn default() -> GithubPagesUpdateReq
fn default() -> GithubPagesUpdateReq
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubPagesUpdateReq
impl<'de> Deserialize<'de> for GithubPagesUpdateReq
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 GithubPagesUpdateReq
impl PartialEq for GithubPagesUpdateReq
Source§impl Serialize for GithubPagesUpdateReq
impl Serialize for GithubPagesUpdateReq
impl StructuralPartialEq for GithubPagesUpdateReq
Auto Trait Implementations§
impl Freeze for GithubPagesUpdateReq
impl RefUnwindSafe for GithubPagesUpdateReq
impl Send for GithubPagesUpdateReq
impl Sync for GithubPagesUpdateReq
impl Unpin for GithubPagesUpdateReq
impl UnsafeUnpin for GithubPagesUpdateReq
impl UnwindSafe for GithubPagesUpdateReq
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