pub struct TargetPlan {
pub target_id: String,
pub kind: String,
pub substrate_id: Option<String>,
pub deployable: bool,
pub requires_approval: Option<bool>,
pub commands: Option<Vec<Vec<String>>>,
pub artifacts: Option<Vec<String>>,
pub secrets_backend: Option<String>,
pub healthcheck: Option<HashMap<String, String>>,
pub rollback: Option<Vec<String>>,
pub risk: String,
pub reason: String,
}Fields§
§target_id: String§kind: String§substrate_id: Option<String>§deployable: bool§requires_approval: Option<bool>§commands: Option<Vec<Vec<String>>>§artifacts: Option<Vec<String>>§secrets_backend: Option<String>§healthcheck: Option<HashMap<String, String>>§rollback: Option<Vec<String>>§risk: String§reason: StringImplementations§
Trait Implementations§
Source§impl Clone for TargetPlan
impl Clone for TargetPlan
Source§fn clone(&self) -> TargetPlan
fn clone(&self) -> TargetPlan
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 TargetPlan
impl Debug for TargetPlan
Source§impl Default for TargetPlan
impl Default for TargetPlan
Source§fn default() -> TargetPlan
fn default() -> TargetPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetPlan
impl<'de> Deserialize<'de> for TargetPlan
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 PartialEq for TargetPlan
impl PartialEq for TargetPlan
Source§fn eq(&self, other: &TargetPlan) -> bool
fn eq(&self, other: &TargetPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TargetPlan
impl Serialize for TargetPlan
impl StructuralPartialEq for TargetPlan
Auto Trait Implementations§
impl Freeze for TargetPlan
impl RefUnwindSafe for TargetPlan
impl Send for TargetPlan
impl Sync for TargetPlan
impl Unpin for TargetPlan
impl UnsafeUnpin for TargetPlan
impl UnwindSafe for TargetPlan
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