Struct dao::bid_escrow::bid::SubmitBidRequest
source · pub struct SubmitBidRequest {Show 15 fields
pub bid_id: BidId,
pub timestamp: BlockTime,
pub job_offer_id: JobOfferId,
pub proposed_timeframe: BlockTime,
pub proposed_payment: Balance,
pub reputation_stake: Balance,
pub cspr_stake: Option<Balance>,
pub onboard: bool,
pub worker: Address,
pub worker_kyced: bool,
pub worker_is_va: bool,
pub job_poster: Address,
pub max_budget: Balance,
pub auction_state: AuctionState,
pub va_can_bid_on_public_auction: bool,
}Expand description
Data required to create a Bid.
Fields§
§bid_id: BidIdNew bid id.
timestamp: BlockTimeSubmission creation time.
job_offer_id: JobOfferIdId of the offer the new bid refers to.
proposed_timeframe: BlockTimeTime to complete the Job.
proposed_payment: BalanceProposed payment for completing the Job.
reputation_stake: BalanceBid reputation stake.
cspr_stake: Option<Balance>Bid CSPR stake - for an External Worker.
onboard: boolShould be onborded when the Job is done.
worker: AddressWorker address.
worker_kyced: boolIf the Worker passed the KYC process.
worker_is_va: boolIf the Worker is a VA.
job_poster: AddressJobPoster address.
max_budget: BalanceThe Job max budget
auction_state: AuctionStateAuction state
va_can_bid_on_public_auction: boolIs allowed a VA bid on public auction (not an External Worker only).
Auto Trait Implementations§
impl RefUnwindSafe for SubmitBidRequest
impl Send for SubmitBidRequest
impl Sync for SubmitBidRequest
impl Unpin for SubmitBidRequest
impl UnwindSafe for SubmitBidRequest
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