Struct ic_utils::interfaces::wallet::AddressEntry
source · [−]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
sourceimpl CandidType for AddressEntry
impl CandidType for AddressEntry
sourceimpl Debug for AddressEntry
impl Debug for AddressEntry
sourceimpl<'de> Deserialize<'de> for AddressEntry
impl<'de> Deserialize<'de> for AddressEntry
sourcefn 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 RefUnwindSafe for AddressEntry
impl Send for AddressEntry
impl Sync for AddressEntry
impl Unpin for AddressEntry
impl UnwindSafe for AddressEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more