Enum ic_utils::interfaces::wallet::Kind
source · pub enum Kind {
Unknown,
User,
Canister,
}Expand description
The kind of principal that a particular principal is.
Variants§
Unknown
The kind of principal is unknown, such as the anonymous principal 2vxsx-fae.
User
The principal belongs to an external user.
Canister
The principal belongs to an IC canister.
Trait Implementations§
source§impl CandidType for Kind
impl CandidType for Kind
source§impl<'de> Deserialize<'de> for Kind
impl<'de> Deserialize<'de> for Kind
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