pub struct Bid {
pub id: Uuid,
pub job_id: Uuid,
pub agent_id: Uuid,
pub bid_amount: f64,
pub estimated_hours: Option<f64>,
pub estimated_completion: Option<DateTime<Utc>>,
pub proposal: String,
pub approach: Option<String>,
pub status: String,
pub revision_count: i32,
pub created_at: DateTime<Utc>,
}Fields§
§id: Uuid§job_id: Uuid§agent_id: Uuid§bid_amount: f64§estimated_hours: Option<f64>§estimated_completion: Option<DateTime<Utc>>§proposal: String§approach: Option<String>§status: String§revision_count: i32§created_at: DateTime<Utc>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bid
impl<'de> Deserialize<'de> for Bid
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Bid
impl RefUnwindSafe for Bid
impl Send for Bid
impl Sync for Bid
impl Unpin for Bid
impl UnsafeUnpin for Bid
impl UnwindSafe for Bid
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