Struct jet_fixed_term::instruction::RefreshPosition
source · [−]pub struct RefreshPosition {
pub expect_price: bool,
}
Expand description
Instruction.
Fields
expect_price: bool
Trait Implementations
sourceimpl BorshDeserialize for RefreshPositionwhere
bool: BorshDeserialize,
impl BorshDeserialize for RefreshPositionwhere
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 RefreshPositionwhere
bool: BorshSerialize,
impl BorshSerialize for RefreshPositionwhere
bool: BorshSerialize,
Auto Trait Implementations
impl RefUnwindSafe for RefreshPosition
impl Send for RefreshPosition
impl Sync for RefreshPosition
impl Unpin for RefreshPosition
impl UnwindSafe for RefreshPosition
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