pub struct AppSpecStaticSitesItemGitlab {
pub branch: Option<String>,
pub deploy_on_push: Option<bool>,
pub repo: Option<String>,
}Expand description
AppSpecStaticSitesItemGitlab
JSON schema
{
"type": "object",
"properties": {
"branch": {
"description": "The name of the branch to use",
"examples": [
"main"
],
"type": "string"
},
"deploy_on_push": {
"description": "Whether to automatically deploy new commits made to the repo",
"examples": [
true
],
"type": "boolean"
},
"repo": {
"description": "The name of the repo in the format owner/repo. Example: `digitalocean/sample-golang`",
"examples": [
"digitalocean/sample-golang"
],
"type": "string"
}
}
}Fields§
§branch: Option<String>The name of the branch to use
deploy_on_push: Option<bool>Whether to automatically deploy new commits made to the repo
repo: Option<String>The name of the repo in the format owner/repo. Example: digitalocean/sample-golang
Trait Implementations§
Source§impl Clone for AppSpecStaticSitesItemGitlab
impl Clone for AppSpecStaticSitesItemGitlab
Source§fn clone(&self) -> AppSpecStaticSitesItemGitlab
fn clone(&self) -> AppSpecStaticSitesItemGitlab
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 AppSpecStaticSitesItemGitlab
impl Debug for AppSpecStaticSitesItemGitlab
Source§impl<'de> Deserialize<'de> for AppSpecStaticSitesItemGitlab
impl<'de> Deserialize<'de> for AppSpecStaticSitesItemGitlab
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 From<&AppSpecStaticSitesItemGitlab> for AppSpecStaticSitesItemGitlab
impl From<&AppSpecStaticSitesItemGitlab> for AppSpecStaticSitesItemGitlab
Source§fn from(value: &AppSpecStaticSitesItemGitlab) -> Self
fn from(value: &AppSpecStaticSitesItemGitlab) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AppSpecStaticSitesItemGitlab
impl RefUnwindSafe for AppSpecStaticSitesItemGitlab
impl Send for AppSpecStaticSitesItemGitlab
impl Sync for AppSpecStaticSitesItemGitlab
impl Unpin for AppSpecStaticSitesItemGitlab
impl UnsafeUnpin for AppSpecStaticSitesItemGitlab
impl UnwindSafe for AppSpecStaticSitesItemGitlab
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