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§
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