#[non_exhaustive]pub struct TargetsPresentCondition {
pub status: bool,
pub missing_targets: Vec<String>,
pub update_time: Option<Timestamp>,
/* private fields */
}
Expand description
TargetsPresentCondition
contains information on any Targets referenced in
the Delivery Pipeline that do not actually exist.
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.status: bool
True if there aren’t any missing Targets.
missing_targets: Vec<String>
The list of Target names that do not exist. For example,
projects/{project_id}/locations/{location_name}/targets/{target_name}
.
update_time: Option<Timestamp>
Last time the condition was updated.
Implementations§
Source§impl TargetsPresentCondition
impl TargetsPresentCondition
pub fn new() -> Self
Sourcepub fn set_status<T: Into<bool>>(self, v: T) -> Self
pub fn set_status<T: Into<bool>>(self, v: T) -> Self
Sets the value of status.
Sourcepub fn set_missing_targets<T, V>(self, v: T) -> Self
pub fn set_missing_targets<T, V>(self, v: T) -> Self
Sets the value of missing_targets.
Sourcepub fn set_update_time<T>(self, v: T) -> Self
pub fn set_update_time<T>(self, v: T) -> Self
Sets the value of update_time.
Sourcepub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_time.
Trait Implementations§
Source§impl Clone for TargetsPresentCondition
impl Clone for TargetsPresentCondition
Source§fn clone(&self) -> TargetsPresentCondition
fn clone(&self) -> TargetsPresentCondition
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 TargetsPresentCondition
impl Debug for TargetsPresentCondition
Source§impl Default for TargetsPresentCondition
impl Default for TargetsPresentCondition
Source§fn default() -> TargetsPresentCondition
fn default() -> TargetsPresentCondition
Returns the “default value” for a type. Read more
Source§impl Message for TargetsPresentCondition
impl Message for TargetsPresentCondition
Source§impl PartialEq for TargetsPresentCondition
impl PartialEq for TargetsPresentCondition
impl StructuralPartialEq for TargetsPresentCondition
Auto Trait Implementations§
impl Freeze for TargetsPresentCondition
impl RefUnwindSafe for TargetsPresentCondition
impl Send for TargetsPresentCondition
impl Sync for TargetsPresentCondition
impl Unpin for TargetsPresentCondition
impl UnwindSafe for TargetsPresentCondition
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