Struct snapps_txn_reference_impl::party::PartyUpdate[][src]

pub struct PartyUpdate<'a> {
    pub app_state: [SetOrKeep<Fp>; 8],
    pub delegate: SetOrKeep<CompressedPublicKey>,
    pub verification_key: SetOrKeep<Option<VerificationKey>>,
    pub permissions: SetOrKeep<Permissions>,
    pub snapp_uri: SetOrKeep<&'a str>,
    pub token_symbol: SetOrKeep<&'a str>,
    pub timing: SetOrKeep<TimingInfo>,
    pub voting_for: SetOrKeep<StateHash>,
}
Expand description

Updates to apply to the account when applying a party.

Fields

app_state: [SetOrKeep<Fp>; 8]

Update for each of the elements of the general-purpose storage in the account.

delegate: SetOrKeep<CompressedPublicKey>

Update to delegate staking of the account’s balance to.

verification_key: SetOrKeep<Option<VerificationKey>>

Update to the verification key for the snapp associated with this account.

permissions: SetOrKeep<Permissions>

Update to the permissions for the account. This sets all permissions simultaneously; any update must provide the desired permissions for all permission kinds.

snapp_uri: SetOrKeep<&'a str>

Update to the URI for access to the code and other resources for this account’s snapp smart contract.

token_symbol: SetOrKeep<&'a str>

Update to the symbol for the token managed by this account. If given, the string has a maximum length of 6 characters.

timing: SetOrKeep<TimingInfo>

Update to set the initial timing data for an account. If not given when creating an account, the account is untimed.

voting_for: SetOrKeep<StateHash>

Update the state hash that the account is recorded as voting for.

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.