Struct ic_cdk::api::management_canister::main::CodeDeploymentRecord
source · pub struct CodeDeploymentRecord {
pub mode: CodeDeploymentMode,
pub module_hash: Vec<u8>,
}
Expand description
Details about a canister code deployment.
Fields§
§mode: CodeDeploymentMode
See CodeDeploymentMode.
module_hash: Vec<u8>
A SHA256 hash of the new module installed on the canister.
Trait Implementations§
source§impl CandidType for CodeDeploymentRecord
impl CandidType for CodeDeploymentRecord
source§impl Clone for CodeDeploymentRecord
impl Clone for CodeDeploymentRecord
source§fn clone(&self) -> CodeDeploymentRecord
fn clone(&self) -> CodeDeploymentRecord
Returns a copy of the value. Read more
1.0.0 · 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 CodeDeploymentRecord
impl Debug for CodeDeploymentRecord
source§impl<'de> Deserialize<'de> for CodeDeploymentRecord
impl<'de> Deserialize<'de> for CodeDeploymentRecord
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 Hash for CodeDeploymentRecord
impl Hash for CodeDeploymentRecord
source§impl Ord for CodeDeploymentRecord
impl Ord for CodeDeploymentRecord
source§fn cmp(&self, other: &CodeDeploymentRecord) -> Ordering
fn cmp(&self, other: &CodeDeploymentRecord) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for CodeDeploymentRecord
impl PartialEq for CodeDeploymentRecord
source§impl PartialOrd for CodeDeploymentRecord
impl PartialOrd for CodeDeploymentRecord
source§impl Serialize for CodeDeploymentRecord
impl Serialize for CodeDeploymentRecord
impl Eq for CodeDeploymentRecord
impl StructuralPartialEq for CodeDeploymentRecord
Auto Trait Implementations§
impl Freeze for CodeDeploymentRecord
impl RefUnwindSafe for CodeDeploymentRecord
impl Send for CodeDeploymentRecord
impl Sync for CodeDeploymentRecord
impl Unpin for CodeDeploymentRecord
impl UnwindSafe for CodeDeploymentRecord
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)