pub struct GithubPagesSource {
pub branch: Option<String>,
pub path: Option<String>,
}Fields§
§branch: Option<String>Branch is the branch the site builds from.
path: Option<String>Path is the directory within that branch: "/" or "/docs".
Implementations§
Source§impl GithubPagesSource
impl GithubPagesSource
pub fn new() -> GithubPagesSource
Trait Implementations§
Source§impl Clone for GithubPagesSource
impl Clone for GithubPagesSource
Source§fn clone(&self) -> GithubPagesSource
fn clone(&self) -> GithubPagesSource
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 GithubPagesSource
impl Debug for GithubPagesSource
Source§impl Default for GithubPagesSource
impl Default for GithubPagesSource
Source§fn default() -> GithubPagesSource
fn default() -> GithubPagesSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubPagesSource
impl<'de> Deserialize<'de> for GithubPagesSource
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 GithubPagesSource
impl PartialEq for GithubPagesSource
Source§impl Serialize for GithubPagesSource
impl Serialize for GithubPagesSource
impl StructuralPartialEq for GithubPagesSource
Auto Trait Implementations§
impl Freeze for GithubPagesSource
impl RefUnwindSafe for GithubPagesSource
impl Send for GithubPagesSource
impl Sync for GithubPagesSource
impl Unpin for GithubPagesSource
impl UnsafeUnpin for GithubPagesSource
impl UnwindSafe for GithubPagesSource
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