#[repr(C)]
pub enum ValidateArgs {
V1 {
operation: String,
payload: Payload,
update_rule_state: bool,
},
}
Expand description
Args for validate
instruction.
Variants§
Trait Implementations§
source§impl BorshDeserialize for ValidateArgswhere
String: BorshDeserialize,
Payload: BorshDeserialize,
bool: BorshDeserialize,
impl BorshDeserialize for ValidateArgswhere
String: BorshDeserialize,
Payload: BorshDeserialize,
bool: BorshDeserialize,
source§impl BorshSerialize for ValidateArgswhere
String: BorshSerialize,
Payload: BorshSerialize,
bool: BorshSerialize,
impl BorshSerialize for ValidateArgswhere
String: BorshSerialize,
Payload: BorshSerialize,
bool: 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 ==
.