pub struct FromCanisterRecord {
pub canister_id: Principal,
pub canister_version: Option<u64>,
}
Expand description
Details about a canister change initiated by a canister (called originator).
Fields§
§canister_id: Principal
Principal of the originator.
canister_version: Option<u64>
Canister version of the originator when the originator initiated the change.
This is null if the original does not include its canister version
in the field sender_canister_version
of the management canister payload.
Trait Implementations§
Source§impl CandidType for FromCanisterRecord
impl CandidType for FromCanisterRecord
Source§impl Clone for FromCanisterRecord
impl Clone for FromCanisterRecord
Source§fn clone(&self) -> FromCanisterRecord
fn clone(&self) -> FromCanisterRecord
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 FromCanisterRecord
impl Debug for FromCanisterRecord
Source§impl<'de> Deserialize<'de> for FromCanisterRecord
impl<'de> Deserialize<'de> for FromCanisterRecord
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 FromCanisterRecord
impl Hash for FromCanisterRecord
Source§impl Ord for FromCanisterRecord
impl Ord for FromCanisterRecord
Source§fn cmp(&self, other: &FromCanisterRecord) -> Ordering
fn cmp(&self, other: &FromCanisterRecord) -> 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 FromCanisterRecord
impl PartialEq for FromCanisterRecord
Source§impl PartialOrd for FromCanisterRecord
impl PartialOrd for FromCanisterRecord
Source§impl Serialize for FromCanisterRecord
impl Serialize for FromCanisterRecord
impl Eq for FromCanisterRecord
impl StructuralPartialEq for FromCanisterRecord
Auto Trait Implementations§
impl Freeze for FromCanisterRecord
impl RefUnwindSafe for FromCanisterRecord
impl Send for FromCanisterRecord
impl Sync for FromCanisterRecord
impl Unpin for FromCanisterRecord
impl UnwindSafe for FromCanisterRecord
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
)