#[non_exhaustive]pub struct TargetsTypeCondition {
pub status: bool,
pub error_details: String,
/* private fields */
}
Expand description
TargetsTypeCondition contains information on whether the Targets defined in the Delivery Pipeline are of the same type.
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 the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters.
error_details: String
Human readable error message.
Implementations§
Source§impl TargetsTypeCondition
impl TargetsTypeCondition
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_error_details<T: Into<String>>(self, v: T) -> Self
pub fn set_error_details<T: Into<String>>(self, v: T) -> Self
Sets the value of error_details.
Trait Implementations§
Source§impl Clone for TargetsTypeCondition
impl Clone for TargetsTypeCondition
Source§fn clone(&self) -> TargetsTypeCondition
fn clone(&self) -> TargetsTypeCondition
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 TargetsTypeCondition
impl Debug for TargetsTypeCondition
Source§impl Default for TargetsTypeCondition
impl Default for TargetsTypeCondition
Source§fn default() -> TargetsTypeCondition
fn default() -> TargetsTypeCondition
Returns the “default value” for a type. Read more
Source§impl Message for TargetsTypeCondition
impl Message for TargetsTypeCondition
Source§impl PartialEq for TargetsTypeCondition
impl PartialEq for TargetsTypeCondition
impl StructuralPartialEq for TargetsTypeCondition
Auto Trait Implementations§
impl Freeze for TargetsTypeCondition
impl RefUnwindSafe for TargetsTypeCondition
impl Send for TargetsTypeCondition
impl Sync for TargetsTypeCondition
impl Unpin for TargetsTypeCondition
impl UnwindSafe for TargetsTypeCondition
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