Struct jet_fixed_term::instruction::MarginLendOrder
source · [−]pub struct MarginLendOrder {
pub params: OrderParams,
pub seed: Vec<u8>,
}
Expand description
Instruction.
Fields
params: OrderParams
seed: Vec<u8>
Trait Implementations
sourceimpl BorshDeserialize for MarginLendOrderwhere
OrderParams: BorshDeserialize,
Vec<u8>: BorshDeserialize,
impl BorshDeserialize for MarginLendOrderwhere
OrderParams: BorshDeserialize,
Vec<u8>: 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 MarginLendOrderwhere
OrderParams: BorshSerialize,
Vec<u8>: BorshSerialize,
impl BorshSerialize for MarginLendOrderwhere
OrderParams: BorshSerialize,
Vec<u8>: BorshSerialize,
Auto Trait Implementations
impl RefUnwindSafe for MarginLendOrder
impl Send for MarginLendOrder
impl Sync for MarginLendOrder
impl Unpin for MarginLendOrder
impl UnwindSafe for MarginLendOrder
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