pub struct ExternalLifecycleRoleUpgradeV1 {
pub subject: String,
pub canister_id: Option<String>,
pub role: Option<String>,
pub control_class: CanisterControlClassV1,
pub lifecycle_mode: LifecycleModeV1,
pub required_external_action: Option<String>,
pub blockers: Vec<String>,
pub warnings: Vec<String>,
}Expand description
ExternalLifecycleRoleUpgradeV1
Fields§
§subject: String§canister_id: Option<String>§role: Option<String>§control_class: CanisterControlClassV1§lifecycle_mode: LifecycleModeV1§required_external_action: Option<String>§blockers: Vec<String>§warnings: Vec<String>Trait Implementations§
Source§impl Clone for ExternalLifecycleRoleUpgradeV1
impl Clone for ExternalLifecycleRoleUpgradeV1
Source§fn clone(&self) -> ExternalLifecycleRoleUpgradeV1
fn clone(&self) -> ExternalLifecycleRoleUpgradeV1
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<'de> Deserialize<'de> for ExternalLifecycleRoleUpgradeV1
impl<'de> Deserialize<'de> for ExternalLifecycleRoleUpgradeV1
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 ExternalLifecycleRoleUpgradeV1
impl PartialEq for ExternalLifecycleRoleUpgradeV1
Source§fn eq(&self, other: &ExternalLifecycleRoleUpgradeV1) -> bool
fn eq(&self, other: &ExternalLifecycleRoleUpgradeV1) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExternalLifecycleRoleUpgradeV1
impl StructuralPartialEq for ExternalLifecycleRoleUpgradeV1
Auto Trait Implementations§
impl Freeze for ExternalLifecycleRoleUpgradeV1
impl RefUnwindSafe for ExternalLifecycleRoleUpgradeV1
impl Send for ExternalLifecycleRoleUpgradeV1
impl Sync for ExternalLifecycleRoleUpgradeV1
impl Unpin for ExternalLifecycleRoleUpgradeV1
impl UnsafeUnpin for ExternalLifecycleRoleUpgradeV1
impl UnwindSafe for ExternalLifecycleRoleUpgradeV1
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