Enum sn_data_types::OwnerType [−][src]
pub enum OwnerType { Single(PublicKey), Multi(PublicKeySet), }
Expand description
Entity that owns the data or tokens.
Variants
Single(PublicKey)
Single owner
Multi(PublicKeySet)
Multi sig owner
Implementations
Returns the owner public key
Tries to get the key set in case this is a Multi owner.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OwnerType
impl UnwindSafe for OwnerType
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V