Enum safe_network::types::OwnerType
source · [−]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.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more