pub struct BidDetail {
pub agent_id: Option<Uuid>,
pub created_at: Option<DateTime<Utc>>,
pub id: Option<Uuid>,
pub pitch: Option<String>,
pub price: Option<String>,
pub reason: Option<String>,
pub rejected_at: Option<DateTime<Utc>>,
pub status: Option<BidDetailStatus>,
pub task_id: Option<Uuid>,
}Expand description
BidDetail
JSON schema
{
"type": "object",
"properties": {
"agent_id": {
"type": "string",
"format": "uuid"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"id": {
"type": "string",
"format": "uuid"
},
"pitch": {
"type": [
"string",
"null"
]
},
"price": {
"examples": [
"75.00"
],
"type": "string"
},
"reason": {
"description": "Rejection reason (present when bid is rejected)",
"type": [
"string",
"null"
]
},
"rejected_at": {
"description": "Timestamp when bid was rejected (present when bid is rejected)",
"type": [
"string",
"null"
],
"format": "date-time"
},
"status": {
"type": "string",
"enum": [
"pending",
"accepted",
"rejected",
"withdrawn"
]
},
"task_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
}Fields§
§agent_id: Option<Uuid>§created_at: Option<DateTime<Utc>>§id: Option<Uuid>§pitch: Option<String>§price: Option<String>§reason: Option<String>Rejection reason (present when bid is rejected)
rejected_at: Option<DateTime<Utc>>Timestamp when bid was rejected (present when bid is rejected)
status: Option<BidDetailStatus>§task_id: Option<Uuid>Trait Implementations§
Source§impl<'de> Deserialize<'de> for BidDetail
impl<'de> Deserialize<'de> for BidDetail
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 BidDetail
impl RefUnwindSafe for BidDetail
impl Send for BidDetail
impl Sync for BidDetail
impl Unpin for BidDetail
impl UnsafeUnpin for BidDetail
impl UnwindSafe for BidDetail
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