Enum safe_network::types::OwnerType [−][src]
pub enum OwnerType { Single(PublicKey), Multi(PublicKeySet), }
Expand description
Entity that owns the data or tokens.
Variants
Single owner
Tuple Fields of Single
0: PublicKey
Multi sig owner
Tuple Fields of Multi
0: PublicKeySet
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self