pub struct OrderPreimageArgs {
pub chain_id: u64,
pub program_id: [u8; 32],
pub is_taker_buy: bool,
pub position_type: u8,
pub market: [u8; 32],
pub strike: u64,
pub quantity: u64,
pub gross_price: u64,
pub valid_until: u64,
pub maker: [u8; 32],
pub taker: [u8; 32],
pub nonce: u64,
}Fields§
§chain_id: u64§program_id: [u8; 32]§is_taker_buy: bool§position_type: u8§market: [u8; 32]§strike: u64§quantity: u64§gross_price: u64§valid_until: u64§maker: [u8; 32]§taker: [u8; 32]§nonce: u64Trait Implementations§
Source§impl Clone for OrderPreimageArgs
impl Clone for OrderPreimageArgs
Source§fn clone(&self) -> OrderPreimageArgs
fn clone(&self) -> OrderPreimageArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OrderPreimageArgs
impl RefUnwindSafe for OrderPreimageArgs
impl Send for OrderPreimageArgs
impl Sync for OrderPreimageArgs
impl Unpin for OrderPreimageArgs
impl UnsafeUnpin for OrderPreimageArgs
impl UnwindSafe for OrderPreimageArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more