Enum round::state::RoundStatus
source · pub enum RoundStatus {
Pending,
Accepted,
Rejected,
}Variants§
Pending
Available to deposit and withdraw until bidding has ended
Accepted
Users can redeem
Rejected
Users can withdraw
Trait Implementations§
source§impl BorshDeserialize for RoundStatus
impl BorshDeserialize for RoundStatus
source§impl BorshSerialize for RoundStatus
impl BorshSerialize for RoundStatus
source§impl Clone for RoundStatus
impl Clone for RoundStatus
source§fn clone(&self) -> RoundStatus
fn clone(&self) -> RoundStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RoundStatus
impl Debug for RoundStatus
source§impl Default for RoundStatus
impl Default for RoundStatus
source§impl PartialEq<RoundStatus> for RoundStatus
impl PartialEq<RoundStatus> for RoundStatus
source§fn eq(&self, other: &RoundStatus) -> bool
fn eq(&self, other: &RoundStatus) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Space for RoundStatus
impl Space for RoundStatus
const INIT_SPACE: usize = 1usize
impl StructuralPartialEq for RoundStatus
Auto Trait Implementations§
impl RefUnwindSafe for RoundStatus
impl Send for RoundStatus
impl Sync for RoundStatus
impl Unpin for RoundStatus
impl UnwindSafe for RoundStatus
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