pub enum StateChangeKindView {
AccountTouched(AccountId),
AccessKeyTouched(AccountId),
DataTouched(AccountId),
ContractCodeTouched(AccountId),
}Expand description
It is a serializable view of StateChangeKind.
JSON schema
{
"description": "It is a [serializable view] of [`StateChangeKind`].\n\n [serializable view]: ./index.html\n [`StateChangeKind`]: ../types/struct.StateChangeKind.html",
"oneOf": [
{
"type": "object",
"required": [
"account_id",
"type"
],
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
},
"type": {
"type": "string",
"enum": [
"account_touched"
]
}
}
},
{
"type": "object",
"required": [
"account_id",
"type"
],
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
},
"type": {
"type": "string",
"enum": [
"access_key_touched"
]
}
}
},
{
"type": "object",
"required": [
"account_id",
"type"
],
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
},
"type": {
"type": "string",
"enum": [
"data_touched"
]
}
}
},
{
"type": "object",
"required": [
"account_id",
"type"
],
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
},
"type": {
"type": "string",
"enum": [
"contract_code_touched"
]
}
}
}
]
}Variants§
AccountTouched(AccountId)
AccessKeyTouched(AccountId)
DataTouched(AccountId)
ContractCodeTouched(AccountId)
Trait Implementations§
Source§impl Clone for StateChangeKindView
impl Clone for StateChangeKindView
Source§fn clone(&self) -> StateChangeKindView
fn clone(&self) -> StateChangeKindView
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StateChangeKindView
impl Debug for StateChangeKindView
Source§impl<'de> Deserialize<'de> for StateChangeKindView
impl<'de> Deserialize<'de> for StateChangeKindView
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StateChangeKindView, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StateChangeKindView, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&StateChangeKindView> for StateChangeKindView
impl From<&StateChangeKindView> for StateChangeKindView
Source§fn from(value: &StateChangeKindView) -> StateChangeKindView
fn from(value: &StateChangeKindView) -> StateChangeKindView
Converts to this type from the input type.
Source§impl Serialize for StateChangeKindView
impl Serialize for StateChangeKindView
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for StateChangeKindView
impl RefUnwindSafe for StateChangeKindView
impl Send for StateChangeKindView
impl Sync for StateChangeKindView
impl Unpin for StateChangeKindView
impl UnwindSafe for StateChangeKindView
Blanket Implementations§
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