Struct ic_cdk::api::management_canister::main::FromUserRecord
source · pub struct FromUserRecord {
pub user_id: Principal,
}
Expand description
Details about a canister change initiated by a user.
Fields§
§user_id: Principal
Principle of the user.
Trait Implementations§
source§impl CandidType for FromUserRecord
impl CandidType for FromUserRecord
source§impl Clone for FromUserRecord
impl Clone for FromUserRecord
source§fn clone(&self) -> FromUserRecord
fn clone(&self) -> FromUserRecord
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 FromUserRecord
impl Debug for FromUserRecord
source§impl<'de> Deserialize<'de> for FromUserRecord
impl<'de> Deserialize<'de> for FromUserRecord
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 FromUserRecord
impl Hash for FromUserRecord
source§impl Ord for FromUserRecord
impl Ord for FromUserRecord
source§fn cmp(&self, other: &FromUserRecord) -> Ordering
fn cmp(&self, other: &FromUserRecord) -> 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 FromUserRecord
impl PartialEq for FromUserRecord
source§fn eq(&self, other: &FromUserRecord) -> bool
fn eq(&self, other: &FromUserRecord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FromUserRecord
impl PartialOrd for FromUserRecord
source§fn partial_cmp(&self, other: &FromUserRecord) -> Option<Ordering>
fn partial_cmp(&self, other: &FromUserRecord) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for FromUserRecord
impl Serialize for FromUserRecord
impl Eq for FromUserRecord
impl StructuralEq for FromUserRecord
impl StructuralPartialEq for FromUserRecord
Auto Trait Implementations§
impl RefUnwindSafe for FromUserRecord
impl Send for FromUserRecord
impl Sync for FromUserRecord
impl Unpin for FromUserRecord
impl UnwindSafe for FromUserRecord
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