Enum snapps_txn_reference_impl::party::PartyAuthorization[][src]

pub enum PartyAuthorization {
    Proof(Proof),
    Signature(Signature),
    NoneGiven,
}
Expand description

The authorization associated with a particular account update.

Variants

Proof(Proof)

Tuple Fields

0: Proof

The update is authorized by a proof that verifies against the verification key stored in the account’s snapp state.

Signature(Signature)

Tuple Fields

The update is authorized by a signature.

NoneGiven

The update does not require authorization.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.