pub struct ExternalUpgradeReceiptV1 {Show 15 fields
pub schema_version: u32,
pub receipt_id: String,
pub proposal_id: String,
pub proposal_digest: String,
pub subject: String,
pub canister_id: Option<String>,
pub role: Option<String>,
pub consent_state: ExternalUpgradeConsentStateV1,
pub reported_by: Option<String>,
pub observed_before_module_hash: Option<String>,
pub observed_after_module_hash: Option<String>,
pub observed_after_canonical_embedded_config_sha256: Option<String>,
pub verification_result: ExternalUpgradeVerificationResultV1,
pub verification_notes: Vec<String>,
pub receipt_digest: String,
}Expand description
ExternalUpgradeReceiptV1
Fields§
§schema_version: u32§receipt_id: String§proposal_id: String§proposal_digest: String§subject: String§canister_id: Option<String>§role: Option<String>§consent_state: ExternalUpgradeConsentStateV1§reported_by: Option<String>§observed_before_module_hash: Option<String>§observed_after_module_hash: Option<String>§observed_after_canonical_embedded_config_sha256: Option<String>§verification_result: ExternalUpgradeVerificationResultV1§verification_notes: Vec<String>§receipt_digest: StringTrait Implementations§
Source§impl Clone for ExternalUpgradeReceiptV1
impl Clone for ExternalUpgradeReceiptV1
Source§fn clone(&self) -> ExternalUpgradeReceiptV1
fn clone(&self) -> ExternalUpgradeReceiptV1
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 ExternalUpgradeReceiptV1
impl Debug for ExternalUpgradeReceiptV1
Source§impl<'de> Deserialize<'de> for ExternalUpgradeReceiptV1
impl<'de> Deserialize<'de> for ExternalUpgradeReceiptV1
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 ExternalUpgradeReceiptV1
impl PartialEq for ExternalUpgradeReceiptV1
Source§fn eq(&self, other: &ExternalUpgradeReceiptV1) -> bool
fn eq(&self, other: &ExternalUpgradeReceiptV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExternalUpgradeReceiptV1
impl Serialize for ExternalUpgradeReceiptV1
impl Eq for ExternalUpgradeReceiptV1
impl StructuralPartialEq for ExternalUpgradeReceiptV1
Auto Trait Implementations§
impl Freeze for ExternalUpgradeReceiptV1
impl RefUnwindSafe for ExternalUpgradeReceiptV1
impl Send for ExternalUpgradeReceiptV1
impl Sync for ExternalUpgradeReceiptV1
impl Unpin for ExternalUpgradeReceiptV1
impl UnsafeUnpin for ExternalUpgradeReceiptV1
impl UnwindSafe for ExternalUpgradeReceiptV1
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