pub struct DeployImage {
pub ref_: Option<String>,
pub registry_credential: Option<String>,
pub sha: Option<String>,
}Expand description
Image information used when creating the deploy. Not present for Git-backed deploys
JSON schema
{
"description": "Image information used when creating the deploy. Not
present for Git-backed deploys",
"type": "object",
"properties": {
"ref": {
"description": "Image reference used when creating the deploy",
"type": "string"
},
"registryCredential": {
"description": "Name of credential used to pull the image, if
provided",
"type": "string"
},
"sha": {
"description": "SHA that the image reference was resolved to when
creating the deploy",
"type": "string"
}
}
}Fields§
§ref_: Option<String>Image reference used when creating the deploy
registry_credential: Option<String>Name of credential used to pull the image, if provided
sha: Option<String>SHA that the image reference was resolved to when creating the deploy
Trait Implementations§
Source§impl Clone for DeployImage
impl Clone for DeployImage
Source§fn clone(&self) -> DeployImage
fn clone(&self) -> DeployImage
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 DeployImage
impl Debug for DeployImage
Source§impl Default for DeployImage
impl Default for DeployImage
Source§impl<'de> Deserialize<'de> for DeployImage
impl<'de> Deserialize<'de> for DeployImage
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
Auto Trait Implementations§
impl Freeze for DeployImage
impl RefUnwindSafe for DeployImage
impl Send for DeployImage
impl Sync for DeployImage
impl Unpin for DeployImage
impl UnsafeUnpin for DeployImage
impl UnwindSafe for DeployImage
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