pub enum SellingResourceState {
Uninitialized,
Created,
InUse,
Exhausted,
Stopped,
}
Variants
Uninitialized
Created
InUse
Exhausted
Stopped
Trait Implementations
sourceimpl BorshDeserialize for SellingResourceState
impl BorshDeserialize for SellingResourceState
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 SellingResourceState
impl BorshSerialize for SellingResourceState
sourceimpl Clone for SellingResourceState
impl Clone for SellingResourceState
sourcefn clone(&self) -> SellingResourceState
fn clone(&self) -> SellingResourceState
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 SellingResourceState
impl Debug for SellingResourceState
sourceimpl PartialEq<SellingResourceState> for SellingResourceState
impl PartialEq<SellingResourceState> for SellingResourceState
sourcefn eq(&self, other: &SellingResourceState) -> bool
fn eq(&self, other: &SellingResourceState) -> bool
impl Eq for SellingResourceState
impl StructuralEq for SellingResourceState
impl StructuralPartialEq for SellingResourceState
Auto Trait Implementations
impl RefUnwindSafe for SellingResourceState
impl Send for SellingResourceState
impl Sync for SellingResourceState
impl Unpin for SellingResourceState
impl UnwindSafe for SellingResourceState
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