Struct dao::rules::validation::bid_escrow::CanBidOnAuctionState
source · pub struct CanBidOnAuctionState { /* private fields */ }
Expand description
Verifies if the worker can place a Bid
in the given state.
May return Error::AuctionNotRunning, Error::OnlyOnboardedWorkerCanBid
or Error::OnboardedWorkerCannotBid.
Implementations§
Trait Implementations§
source§impl Validation for CanBidOnAuctionState
impl Validation for CanBidOnAuctionState
Auto Trait Implementations§
impl RefUnwindSafe for CanBidOnAuctionState
impl Send for CanBidOnAuctionState
impl Sync for CanBidOnAuctionState
impl Unpin for CanBidOnAuctionState
impl UnwindSafe for CanBidOnAuctionState
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