Struct near_contract_tools::approval::ActionRequest
source · pub struct ActionRequest<A, S> {
pub action: A,
pub approval_state: S,
}
Expand description
An action request is composed of an action that will be executed when the associated approval state is satisfied
Fields§
§action: A
The action that will be executed when the approval state is fulfilled
approval_state: S
The associated approval state
Trait Implementations§
source§impl<A, S> BorshDeserialize for ActionRequest<A, S>where
A: BorshDeserialize,
S: BorshDeserialize,
impl<A, S> BorshDeserialize for ActionRequest<A, S>where
A: BorshDeserialize,
S: BorshDeserialize,
source§impl<A, S> BorshSerialize for ActionRequest<A, S>where
A: BorshSerialize,
S: BorshSerialize,
impl<A, S> BorshSerialize for ActionRequest<A, S>where
A: BorshSerialize,
S: BorshSerialize,
source§impl<'de, A, S> Deserialize<'de> for ActionRequest<A, S>where
A: Deserialize<'de>,
S: Deserialize<'de>,
impl<'de, A, S> Deserialize<'de> for ActionRequest<A, S>where
A: Deserialize<'de>,
S: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more