pub struct ExternalUpgradeProposalV1 {Show 31 fields
pub proposal_id: String,
pub proposal_digest: String,
pub deployment_plan_id: String,
pub deployment_plan_digest: String,
pub lifecycle_plan_id: String,
pub lifecycle_plan_digest: String,
pub promotion_plan_id: Option<String>,
pub promotion_plan_digest: Option<String>,
pub promotion_provenance_id: Option<String>,
pub promotion_provenance_digest: Option<String>,
pub subject: String,
pub canister_id: Option<String>,
pub role: Option<String>,
pub control_class: CanisterControlClassV1,
pub lifecycle_mode: LifecycleModeV1,
pub observed_before_digest: String,
pub current_module_hash: Option<String>,
pub current_canonical_embedded_config_sha256: Option<String>,
pub target_wasm_sha256: Option<String>,
pub target_wasm_gz_sha256: Option<String>,
pub target_installed_module_hash: Option<String>,
pub target_role_artifact_identity: Option<String>,
pub target_canonical_embedded_config_sha256: Option<String>,
pub root_trust_anchor: Option<String>,
pub authority_profile_hash: Option<String>,
pub required_external_action: String,
pub consent_requirements: Vec<ConsentRequirementV1>,
pub allowed_authorization_modes: Vec<ExternalUpgradeAuthorizationModeV1>,
pub verification_requirements: Vec<LifecycleVerificationRequirementV1>,
pub expires_at: Option<String>,
pub supersedes_proposal_id: Option<String>,
}Expand description
ExternalUpgradeProposalV1
Fields§
§proposal_id: String§proposal_digest: String§deployment_plan_id: String§deployment_plan_digest: String§lifecycle_plan_id: String§lifecycle_plan_digest: String§promotion_plan_id: Option<String>§promotion_plan_digest: Option<String>§promotion_provenance_id: Option<String>§promotion_provenance_digest: Option<String>§subject: String§canister_id: Option<String>§role: Option<String>§control_class: CanisterControlClassV1§lifecycle_mode: LifecycleModeV1§observed_before_digest: String§current_module_hash: Option<String>§current_canonical_embedded_config_sha256: Option<String>§target_wasm_sha256: Option<String>§target_wasm_gz_sha256: Option<String>§target_installed_module_hash: Option<String>§target_role_artifact_identity: Option<String>§target_canonical_embedded_config_sha256: Option<String>§root_trust_anchor: Option<String>§required_external_action: String§consent_requirements: Vec<ConsentRequirementV1>§verification_requirements: Vec<LifecycleVerificationRequirementV1>§expires_at: Option<String>§supersedes_proposal_id: Option<String>Trait Implementations§
Source§impl Clone for ExternalUpgradeProposalV1
impl Clone for ExternalUpgradeProposalV1
Source§fn clone(&self) -> ExternalUpgradeProposalV1
fn clone(&self) -> ExternalUpgradeProposalV1
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 ExternalUpgradeProposalV1
impl Debug for ExternalUpgradeProposalV1
Source§impl<'de> Deserialize<'de> for ExternalUpgradeProposalV1
impl<'de> Deserialize<'de> for ExternalUpgradeProposalV1
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 ExternalUpgradeProposalV1
impl PartialEq for ExternalUpgradeProposalV1
Source§fn eq(&self, other: &ExternalUpgradeProposalV1) -> bool
fn eq(&self, other: &ExternalUpgradeProposalV1) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExternalUpgradeProposalV1
impl StructuralPartialEq for ExternalUpgradeProposalV1
Auto Trait Implementations§
impl Freeze for ExternalUpgradeProposalV1
impl RefUnwindSafe for ExternalUpgradeProposalV1
impl Send for ExternalUpgradeProposalV1
impl Sync for ExternalUpgradeProposalV1
impl Unpin for ExternalUpgradeProposalV1
impl UnsafeUnpin for ExternalUpgradeProposalV1
impl UnwindSafe for ExternalUpgradeProposalV1
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