Struct jet_margin::instruction::RegisterPosition
source · [−]pub struct RegisterPosition;
Expand description
Instruction.
Trait Implementations
sourceimpl BorshDeserialize for RegisterPosition
impl BorshDeserialize for RegisterPosition
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 RegisterPosition
impl BorshSerialize for RegisterPosition
Auto Trait Implementations
impl RefUnwindSafe for RegisterPosition
impl Send for RegisterPosition
impl Sync for RegisterPosition
impl Unpin for RegisterPosition
impl UnwindSafe for RegisterPosition
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