Struct mpl_fixed_price_sale::instruction::CreateMarket
source · [−]pub struct CreateMarket {
pub _treasury_owner_bump: u8,
pub name: String,
pub description: String,
pub mutable: bool,
pub price: u64,
pub pieces_in_one_wallet: Option<u64>,
pub start_date: u64,
pub end_date: Option<u64>,
pub gating_config: Option<GatingConfig>,
}
Expand description
Instruction.
Fields
_treasury_owner_bump: u8
name: String
description: String
mutable: bool
price: u64
pieces_in_one_wallet: Option<u64>
start_date: u64
end_date: Option<u64>
gating_config: Option<GatingConfig>
Trait Implementations
sourceimpl BorshDeserialize for CreateMarketwhere
u8: BorshDeserialize,
String: BorshDeserialize,
String: BorshDeserialize,
bool: BorshDeserialize,
u64: BorshDeserialize,
Option<u64>: BorshDeserialize,
u64: BorshDeserialize,
Option<u64>: BorshDeserialize,
Option<GatingConfig>: BorshDeserialize,
impl BorshDeserialize for CreateMarketwhere
u8: BorshDeserialize,
String: BorshDeserialize,
String: BorshDeserialize,
bool: BorshDeserialize,
u64: BorshDeserialize,
Option<u64>: BorshDeserialize,
u64: BorshDeserialize,
Option<u64>: BorshDeserialize,
Option<GatingConfig>: 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.
Auto Trait Implementations
impl RefUnwindSafe for CreateMarket
impl Send for CreateMarket
impl Sync for CreateMarket
impl Unpin for CreateMarket
impl UnwindSafe for CreateMarket
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
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