#[repr(C)]
pub enum CreateOrUpdateArgs {
V1 {
serialized_rule_set: Vec<u8>,
},
}
Expand description
Args for create
instruction.
Variants§
V1
V1 implementation of the create
instruction arguments.
Trait Implementations§
source§impl BorshDeserialize for CreateOrUpdateArgswhere
Vec<u8>: BorshDeserialize,
impl BorshDeserialize for CreateOrUpdateArgswhere Vec<u8>: BorshDeserialize,
source§impl BorshSerialize for CreateOrUpdateArgswhere
Vec<u8>: BorshSerialize,
impl BorshSerialize for CreateOrUpdateArgswhere Vec<u8>: BorshSerialize,
source§impl Clone for CreateOrUpdateArgs
impl Clone for CreateOrUpdateArgs
source§fn clone(&self) -> CreateOrUpdateArgs
fn clone(&self) -> CreateOrUpdateArgs
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 CreateOrUpdateArgs
impl Debug for CreateOrUpdateArgs
source§impl PartialEq<CreateOrUpdateArgs> for CreateOrUpdateArgs
impl PartialEq<CreateOrUpdateArgs> for CreateOrUpdateArgs
source§fn eq(&self, other: &CreateOrUpdateArgs) -> bool
fn eq(&self, other: &CreateOrUpdateArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.