Struct snapps_txn_reference_impl::account::Permissions [−][src]
pub struct Permissions {
pub edit_state: AuthorizationRequired,
pub send: AuthorizationRequired,
pub receive: AuthorizationRequired,
pub set_delegate: AuthorizationRequired,
pub set_permissions: AuthorizationRequired,
pub set_verification_key: AuthorizationRequired,
pub set_snapp_uri: AuthorizationRequired,
pub add_sequence_events: AuthorizationRequired,
pub increment_nonce: AuthorizationRequired,
}Expand description
Permissions required for updates to the account.
Each update applied to the account by a snapp transaction corresponds to one of the fields of
this record. The AuthorizationRequired value of the field determines which authorization
kinds may accompany a transaction issuing that update.
Fields
edit_state: AuthorizationRequiredAuthorization required to update the account’s snapp.app_state.
send: AuthorizationRequiredAuthorization required to decrease the balance of this account.
receive: AuthorizationRequiredAuthorization required to increase the balance of this account.
set_delegate: AuthorizationRequiredAuthorization required to modify this account’s delegate.
set_permissions: AuthorizationRequiredAuthorization required to modify this account’s permissions.
set_verification_key: AuthorizationRequiredAuthorization required to modify this account’s snapp.verification_key.
set_snapp_uri: AuthorizationRequiredAuthorization required to modify this account’s snapp.uri.
add_sequence_events: AuthorizationRequiredAuthorization required to submit sequence events to this account.
increment_nonce: AuthorizationRequiredAuthorization required to increment this account’s nonce.
Implementations
The default permissions. Sets every field of Permissions to
AuthorizationRequired::Signature.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Permissions
impl Send for Permissions
impl Sync for Permissions
impl Unpin for Permissions
impl UnwindSafe for Permissions
Blanket Implementations
Mutably borrows from an owned value. Read more