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: AuthorizationRequired
Authorization required to update the account’s snapp.app_state
.
send: AuthorizationRequired
Authorization required to decrease the balance
of this account.
receive: AuthorizationRequired
Authorization required to increase the balance
of this account.
set_delegate: AuthorizationRequired
Authorization required to modify this account’s delegate
.
set_permissions: AuthorizationRequired
Authorization required to modify this account’s permissions
.
set_verification_key: AuthorizationRequired
Authorization required to modify this account’s snapp.verification_key
.
set_snapp_uri: AuthorizationRequired
Authorization required to modify this account’s snapp.uri
.
add_sequence_events: AuthorizationRequired
Authorization required to submit sequence events to this account.
increment_nonce: AuthorizationRequired
Authorization 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