pub struct CreateMarket {
pub _name: String,
pub _oracle_config: OracleConfigParams,
pub _quote_lot_size: i64,
pub _base_lot_size: i64,
pub _maker_fee: i64,
pub _taker_fee: i64,
pub _time_expiry: i64,
}Expand description
Instruction.
Fields§
§_name: String§_oracle_config: OracleConfigParams§_quote_lot_size: i64§_base_lot_size: i64§_maker_fee: i64§_taker_fee: i64§_time_expiry: i64Trait Implementations§
Source§impl BorshDeserialize for CreateMarket
impl BorshDeserialize for CreateMarket
Source§impl BorshSerialize for CreateMarket
impl BorshSerialize for CreateMarket
Source§impl Discriminator for CreateMarket
impl Discriminator for CreateMarket
const DISCRIMINATOR: [u8; 8]
fn discriminator() -> [u8; 8]
Source§impl InstructionData for CreateMarket
impl InstructionData for CreateMarket
Auto Trait Implementations§
impl Freeze for CreateMarket
impl RefUnwindSafe for CreateMarket
impl Send for CreateMarket
impl Sync for CreateMarket
impl Unpin for CreateMarket
impl UnsafeUnpin for CreateMarket
impl UnwindSafe for CreateMarket
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more