#[repr(C)]
pub enum ValidateArgs {
V1 {
operation: String,
payload: Payload,
update_rule_state: bool,
rule_set_revision: Option<usize>,
},
}
Expand description
Args for validate
instruction.
Variants§
V1
Fields
V1 implementation of the validate
instruction arguments.
Trait Implementations§
source§impl BorshDeserialize for ValidateArgswhere
String: BorshDeserialize,
Payload: BorshDeserialize,
bool: BorshDeserialize,
Option<usize>: BorshDeserialize,
impl BorshDeserialize for ValidateArgswhere String: BorshDeserialize, Payload: BorshDeserialize, bool: BorshDeserialize, Option<usize>: BorshDeserialize,
source§impl BorshSerialize for ValidateArgswhere
String: BorshSerialize,
Payload: BorshSerialize,
bool: BorshSerialize,
Option<usize>: BorshSerialize,
impl BorshSerialize for ValidateArgswhere String: BorshSerialize, Payload: BorshSerialize, bool: BorshSerialize, Option<usize>: BorshSerialize,
source§impl Clone for ValidateArgs
impl Clone for ValidateArgs
source§fn clone(&self) -> ValidateArgs
fn clone(&self) -> ValidateArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ValidateArgs
impl Debug for ValidateArgs
source§impl PartialEq<ValidateArgs> for ValidateArgs
impl PartialEq<ValidateArgs> for ValidateArgs
source§fn eq(&self, other: &ValidateArgs) -> bool
fn eq(&self, other: &ValidateArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.