pub struct ProjectsDeploySite {
pub files: Option<Vec<ProjectsFile>>,
pub name: Option<String>,
pub slug: Option<String>,
}Fields§
§files: Option<Vec<ProjectsFile>>Files is the whole site, inline — every file it consists of. It REPLACES what is there rather than merging, so an omitted file is a deleted one.
name: Option<String>Name is the site’s display name.
slug: Option<String>Slug is the handle and public host label to publish under.
Implementations§
Source§impl ProjectsDeploySite
impl ProjectsDeploySite
pub fn new() -> ProjectsDeploySite
Trait Implementations§
Source§impl Clone for ProjectsDeploySite
impl Clone for ProjectsDeploySite
Source§fn clone(&self) -> ProjectsDeploySite
fn clone(&self) -> ProjectsDeploySite
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 ProjectsDeploySite
impl Debug for ProjectsDeploySite
Source§impl Default for ProjectsDeploySite
impl Default for ProjectsDeploySite
Source§fn default() -> ProjectsDeploySite
fn default() -> ProjectsDeploySite
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectsDeploySite
impl<'de> Deserialize<'de> for ProjectsDeploySite
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 ProjectsDeploySite
impl PartialEq for ProjectsDeploySite
Source§impl Serialize for ProjectsDeploySite
impl Serialize for ProjectsDeploySite
impl StructuralPartialEq for ProjectsDeploySite
Auto Trait Implementations§
impl Freeze for ProjectsDeploySite
impl RefUnwindSafe for ProjectsDeploySite
impl Send for ProjectsDeploySite
impl Sync for ProjectsDeploySite
impl Unpin for ProjectsDeploySite
impl UnsafeUnpin for ProjectsDeploySite
impl UnwindSafe for ProjectsDeploySite
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