Enum safe_network::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
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V