pub struct GithubPagesEnableReq {
pub branch: Option<String>,
pub build_type: Option<String>,
pub path: Option<String>,
pub repo: Option<String>,
}Fields§
§branch: Option<String>Branch is the legacy source branch; empty defaults to the repo’s own default branch. Ignored when buildType is "workflow".
build_type: Option<String>BuildType selects the builder: "workflow" builds via GitHub Actions, anything else builds from the branch source above.
path: Option<String>Path is the source directory within the branch: "/" (the default) or "/docs". GitHub allows no others.
repo: Option<String>Repo is the repository, from the :repo path segment.
Implementations§
Source§impl GithubPagesEnableReq
impl GithubPagesEnableReq
pub fn new() -> GithubPagesEnableReq
Trait Implementations§
Source§impl Clone for GithubPagesEnableReq
impl Clone for GithubPagesEnableReq
Source§fn clone(&self) -> GithubPagesEnableReq
fn clone(&self) -> GithubPagesEnableReq
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 GithubPagesEnableReq
impl Debug for GithubPagesEnableReq
Source§impl Default for GithubPagesEnableReq
impl Default for GithubPagesEnableReq
Source§fn default() -> GithubPagesEnableReq
fn default() -> GithubPagesEnableReq
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubPagesEnableReq
impl<'de> Deserialize<'de> for GithubPagesEnableReq
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 GithubPagesEnableReq
impl PartialEq for GithubPagesEnableReq
Source§impl Serialize for GithubPagesEnableReq
impl Serialize for GithubPagesEnableReq
impl StructuralPartialEq for GithubPagesEnableReq
Auto Trait Implementations§
impl Freeze for GithubPagesEnableReq
impl RefUnwindSafe for GithubPagesEnableReq
impl Send for GithubPagesEnableReq
impl Sync for GithubPagesEnableReq
impl Unpin for GithubPagesEnableReq
impl UnsafeUnpin for GithubPagesEnableReq
impl UnwindSafe for GithubPagesEnableReq
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