pub struct ExternalUpgradeVerificationPolicyV1 {
pub schema_version: u32,
pub policy_id: String,
pub policy_digest: String,
pub proposal_id: String,
pub proposal_digest: String,
pub subject: String,
pub canister_id: Option<String>,
pub role: Option<String>,
pub required_verification: Vec<LifecycleVerificationRequirementV1>,
pub verification_requirements: Vec<ExternalUpgradeVerificationPolicyRequirementV1>,
pub max_observation_age_seconds: Option<u64>,
pub status_summary: String,
}Expand description
ExternalUpgradeVerificationPolicyV1
Fields§
§schema_version: u32§policy_id: String§policy_digest: String§proposal_id: String§proposal_digest: String§subject: String§canister_id: Option<String>§role: Option<String>§required_verification: Vec<LifecycleVerificationRequirementV1>§verification_requirements: Vec<ExternalUpgradeVerificationPolicyRequirementV1>§max_observation_age_seconds: Option<u64>§status_summary: StringTrait Implementations§
Source§impl Clone for ExternalUpgradeVerificationPolicyV1
impl Clone for ExternalUpgradeVerificationPolicyV1
Source§fn clone(&self) -> ExternalUpgradeVerificationPolicyV1
fn clone(&self) -> ExternalUpgradeVerificationPolicyV1
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 ExternalUpgradeVerificationPolicyV1
impl<'de> Deserialize<'de> for ExternalUpgradeVerificationPolicyV1
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 ExternalUpgradeVerificationPolicyV1
impl PartialEq for ExternalUpgradeVerificationPolicyV1
Source§fn eq(&self, other: &ExternalUpgradeVerificationPolicyV1) -> bool
fn eq(&self, other: &ExternalUpgradeVerificationPolicyV1) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExternalUpgradeVerificationPolicyV1
impl StructuralPartialEq for ExternalUpgradeVerificationPolicyV1
Auto Trait Implementations§
impl Freeze for ExternalUpgradeVerificationPolicyV1
impl RefUnwindSafe for ExternalUpgradeVerificationPolicyV1
impl Send for ExternalUpgradeVerificationPolicyV1
impl Sync for ExternalUpgradeVerificationPolicyV1
impl Unpin for ExternalUpgradeVerificationPolicyV1
impl UnsafeUnpin for ExternalUpgradeVerificationPolicyV1
impl UnwindSafe for ExternalUpgradeVerificationPolicyV1
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