#[non_exhaustive]pub struct DeployJobRunMetadata {
pub cloud_run: Option<CloudRunMetadata>,
pub custom_target: Option<CustomTargetDeployMetadata>,
pub custom: Option<CustomMetadata>,
/* private fields */
}
Expand description
DeployJobRunMetadata surfaces information associated with a DeployJobRun
to
the user.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cloud_run: Option<CloudRunMetadata>
Output only. The name of the Cloud Run Service that is associated with a
DeployJobRun
.
custom_target: Option<CustomTargetDeployMetadata>
Output only. Custom Target metadata associated with a DeployJobRun
.
custom: Option<CustomMetadata>
Output only. Custom metadata provided by user-defined deploy operation.
Implementations§
Source§impl DeployJobRunMetadata
impl DeployJobRunMetadata
pub fn new() -> Self
Sourcepub fn set_cloud_run<T>(self, v: T) -> Selfwhere
T: Into<CloudRunMetadata>,
pub fn set_cloud_run<T>(self, v: T) -> Selfwhere
T: Into<CloudRunMetadata>,
Sets the value of cloud_run.
Sourcepub fn set_or_clear_cloud_run<T>(self, v: Option<T>) -> Selfwhere
T: Into<CloudRunMetadata>,
pub fn set_or_clear_cloud_run<T>(self, v: Option<T>) -> Selfwhere
T: Into<CloudRunMetadata>,
Sets or clears the value of cloud_run.
Sourcepub fn set_custom_target<T>(self, v: T) -> Selfwhere
T: Into<CustomTargetDeployMetadata>,
pub fn set_custom_target<T>(self, v: T) -> Selfwhere
T: Into<CustomTargetDeployMetadata>,
Sets the value of custom_target.
Sourcepub fn set_or_clear_custom_target<T>(self, v: Option<T>) -> Selfwhere
T: Into<CustomTargetDeployMetadata>,
pub fn set_or_clear_custom_target<T>(self, v: Option<T>) -> Selfwhere
T: Into<CustomTargetDeployMetadata>,
Sets or clears the value of custom_target.
Sourcepub fn set_custom<T>(self, v: T) -> Selfwhere
T: Into<CustomMetadata>,
pub fn set_custom<T>(self, v: T) -> Selfwhere
T: Into<CustomMetadata>,
Sets the value of custom.
Sourcepub fn set_or_clear_custom<T>(self, v: Option<T>) -> Selfwhere
T: Into<CustomMetadata>,
pub fn set_or_clear_custom<T>(self, v: Option<T>) -> Selfwhere
T: Into<CustomMetadata>,
Sets or clears the value of custom.
Trait Implementations§
Source§impl Clone for DeployJobRunMetadata
impl Clone for DeployJobRunMetadata
Source§fn clone(&self) -> DeployJobRunMetadata
fn clone(&self) -> DeployJobRunMetadata
Returns a duplicate of the value. Read more
1.0.0 · 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 DeployJobRunMetadata
impl Debug for DeployJobRunMetadata
Source§impl Default for DeployJobRunMetadata
impl Default for DeployJobRunMetadata
Source§fn default() -> DeployJobRunMetadata
fn default() -> DeployJobRunMetadata
Returns the “default value” for a type. Read more
Source§impl Message for DeployJobRunMetadata
impl Message for DeployJobRunMetadata
Source§impl PartialEq for DeployJobRunMetadata
impl PartialEq for DeployJobRunMetadata
impl StructuralPartialEq for DeployJobRunMetadata
Auto Trait Implementations§
impl Freeze for DeployJobRunMetadata
impl RefUnwindSafe for DeployJobRunMetadata
impl Send for DeployJobRunMetadata
impl Sync for DeployJobRunMetadata
impl Unpin for DeployJobRunMetadata
impl UnwindSafe for DeployJobRunMetadata
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