Enum unc_primitives::types::StateChangeValue
source · pub enum StateChangeValue {
AccountUpdate {
account_id: AccountId,
account: Account,
},
AccountDeletion {
account_id: AccountId,
},
AccessKeyUpdate {
account_id: AccountId,
public_key: PublicKey,
access_key: AccessKey,
},
AccessKeyDeletion {
account_id: AccountId,
public_key: PublicKey,
},
DataUpdate {
account_id: AccountId,
key: StoreKey,
value: StoreValue,
},
DataDeletion {
account_id: AccountId,
key: StoreKey,
},
ContractCodeUpdate {
account_id: AccountId,
code: Vec<u8>,
},
ContractCodeDeletion {
account_id: AccountId,
},
RsaKeyUpdate {
account_id: AccountId,
public_key: PublicKey,
rsa_key: RegisterRsa2048KeysAction,
},
RsaKeyDeletion {
account_id: AccountId,
public_key: PublicKey,
},
}Variants§
AccountUpdate
AccountDeletion
AccessKeyUpdate
AccessKeyDeletion
DataUpdate
DataDeletion
ContractCodeUpdate
ContractCodeDeletion
RsaKeyUpdate
RsaKeyDeletion
Implementations§
source§impl StateChangeValue
impl StateChangeValue
pub fn affected_account_id(&self) -> &AccountId
Trait Implementations§
source§impl Debug for StateChangeValue
impl Debug for StateChangeValue
source§impl From<StateChangeValue> for StateChangeValueView
impl From<StateChangeValue> for StateChangeValueView
source§fn from(state_change: StateChangeValue) -> Self
fn from(state_change: StateChangeValue) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StateChangeValue
impl RefUnwindSafe for StateChangeValue
impl Send for StateChangeValue
impl Sync for StateChangeValue
impl Unpin for StateChangeValue
impl UnwindSafe for StateChangeValue
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more