Struct dao::bid_escrow::job::PickBidRequest
source · pub struct PickBidRequest {Show 16 fields
pub job_id: JobId,
pub job_offer_id: JobOfferId,
pub bid_id: BidId,
pub caller: Address,
pub poster: Address,
pub worker: Address,
pub is_worker_va: bool,
pub onboard: bool,
pub block_time: BlockTime,
pub timeframe: BlockTime,
pub payment: Balance,
pub transferred_cspr: Balance,
pub cspr_amount: Balance,
pub stake: Balance,
pub external_worker_cspr_stake: Balance,
pub bid_status: BidStatus,
}Expand description
Data required to pick the Bid.
Fields§
§job_id: JobIdJob id.
job_offer_id: JobOfferIdRelated JobOffer id.
bid_id: BidIdPicked Bid id.
caller: AddressThe request creator.
poster: AddressJobPoster address.
worker: AddressWorker address.
is_worker_va: boolIf the Worker is a VA.
onboard: boolShould be onborded when the Job is done.
block_time: BlockTimeTime the bid is picked.
timeframe: BlockTimeTime to complete the Job.
payment: BalanceJob reward.
transferred_cspr: BalanceThe amount transferred by Job Poster.
cspr_amount: BalanceThe amount declared to be transferred by Job Poster.
stake: BalanceBid reputation stake.
external_worker_cspr_stake: BalanceBid CSPR stake - for an External Worker.
bid_status: BidStatusBid status
Auto Trait Implementations§
impl RefUnwindSafe for PickBidRequest
impl Send for PickBidRequest
impl Sync for PickBidRequest
impl Unpin for PickBidRequest
impl UnwindSafe for PickBidRequest
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