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: BidId
New bid id.
timestamp: BlockTime
Submission creation time.
job_offer_id: JobOfferId
Id of the offer the new bid refers to.
proposed_timeframe: BlockTime
Time to complete the Job.
proposed_payment: Balance
Proposed payment for completing the Job.
reputation_stake: Balance
Bid reputation stake.
cspr_stake: Option<Balance>
Bid CSPR stake - for an External Worker.
onboard: bool
Should be onborded when the Job is done.
worker: Address
Worker address.
worker_kyced: bool
If the Worker
passed the KYC process.
worker_is_va: bool
If the Worker
is a VA.
job_poster: Address
JobPoster address.
max_budget: Balance
The Job max budget
auction_state: AuctionState
Auction state
va_can_bid_on_public_auction: bool
Is 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