pub struct AddressEntry {
pub id: Principal,
pub name: Option<String>,
pub kind: Kind,
pub role: Role,
}Expand description
An entry in the address book.
Fields§
§id: PrincipalThe principal being identified.
name: Option<String>The friendly name for this principal, if one exists.
kind: KindThe kind of principal it is.
role: RoleThe significance of this principal to the wallet canister.
Trait Implementations§
Source§impl CandidType for AddressEntry
impl CandidType for AddressEntry
Source§impl Debug for AddressEntry
impl Debug for AddressEntry
Source§impl<'de> Deserialize<'de> for AddressEntry
impl<'de> Deserialize<'de> for AddressEntry
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
Auto Trait Implementations§
impl Freeze for AddressEntry
impl RefUnwindSafe for AddressEntry
impl Send for AddressEntry
impl Sync for AddressEntry
impl Unpin for AddressEntry
impl UnwindSafe for AddressEntry
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