Struct dao::rules::validation::bid_escrow::CanJobOfferBeCancelled
source · pub struct CanJobOfferBeCancelled { /* private fields */ }
Expand description
Verifies if the Job Offer
can be canceled
in the given state. May return Error::JobOfferCannotBeYetCanceled.
Implementations§
source§impl CanJobOfferBeCancelled
impl CanJobOfferBeCancelled
pub fn create(auction_state: AuctionState) -> Box<Self>
Trait Implementations§
source§impl Validation for CanJobOfferBeCancelled
impl Validation for CanJobOfferBeCancelled
Auto Trait Implementations§
impl RefUnwindSafe for CanJobOfferBeCancelled
impl Send for CanJobOfferBeCancelled
impl Sync for CanJobOfferBeCancelled
impl Unpin for CanJobOfferBeCancelled
impl UnwindSafe for CanJobOfferBeCancelled
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