Enum dao::bid_escrow::job_offer::JobOfferStatus
source · pub enum JobOfferStatus {
Created,
InProgress,
Cancelled,
}
Expand description
Serializable JobOffer status representation.
Variants§
Created
Created, Bidders can place bids.
InProgress
Bid selected, a Worker works on it.
Cancelled
Offer canceled, is no longer valid.
Trait Implementations§
source§impl BorshDeserialize for JobOfferStatus
impl BorshDeserialize for JobOfferStatus
source§fn deserialize(buf: &mut &[u8]) -> Result<Self>
fn deserialize(buf: &mut &[u8]) -> Result<Self>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
§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.
source§impl BorshSerialize for JobOfferStatus
impl BorshSerialize for JobOfferStatus
source§impl Clone for JobOfferStatus
impl Clone for JobOfferStatus
source§fn clone(&self) -> JobOfferStatus
fn clone(&self) -> JobOfferStatus
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 PartialEq for JobOfferStatus
impl PartialEq for JobOfferStatus
source§fn eq(&self, other: &JobOfferStatus) -> bool
fn eq(&self, other: &JobOfferStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for JobOfferStatus
Auto Trait Implementations§
impl RefUnwindSafe for JobOfferStatus
impl Send for JobOfferStatus
impl Sync for JobOfferStatus
impl Unpin for JobOfferStatus
impl UnwindSafe for JobOfferStatus
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