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
)