Enum mpl_fixed_price_sale::state::MarketState
source · [−]pub enum MarketState {
Uninitialized,
Created,
Suspended,
Active,
Ended,
}
Variants
Uninitialized
Created
Suspended
Active
Ended
Trait Implementations
sourceimpl BorshDeserialize for MarketState
impl BorshDeserialize for MarketState
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 MarketState
impl BorshSerialize for MarketState
sourceimpl Clone for MarketState
impl Clone for MarketState
sourcefn clone(&self) -> MarketState
fn clone(&self) -> MarketState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MarketState
impl Debug for MarketState
sourceimpl PartialEq<MarketState> for MarketState
impl PartialEq<MarketState> for MarketState
sourcefn eq(&self, other: &MarketState) -> bool
fn eq(&self, other: &MarketState) -> bool
impl Eq for MarketState
impl StructuralEq for MarketState
impl StructuralPartialEq for MarketState
Auto Trait Implementations
impl RefUnwindSafe for MarketState
impl Send for MarketState
impl Sync for MarketState
impl Unpin for MarketState
impl UnwindSafe for MarketState
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