Struct jet_margin::instruction::ConfigureAdapter
source · [−]pub struct ConfigureAdapter {
pub is_adapter: bool,
}
Expand description
Instruction.
Fields
is_adapter: bool
Trait Implementations
sourceimpl BorshDeserialize for ConfigureAdapterwhere
bool: BorshDeserialize,
impl BorshDeserialize for ConfigureAdapterwhere
bool: BorshDeserialize,
sourcefn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes. Read more
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
sourceimpl BorshSerialize for ConfigureAdapterwhere
bool: BorshSerialize,
impl BorshSerialize for ConfigureAdapterwhere
bool: BorshSerialize,
Auto Trait Implementations
impl RefUnwindSafe for ConfigureAdapter
impl Send for ConfigureAdapter
impl Sync for ConfigureAdapter
impl Unpin for ConfigureAdapter
impl UnwindSafe for ConfigureAdapter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more