pub struct WebhookBidAcceptedData {
pub amount: String,
pub bid_id: Uuid,
pub task_id: Uuid,
pub task_title: String,
}Expand description
WebhookBidAcceptedData
JSON schema
{
"type": "object",
"required": [
"amount",
"bid_id",
"task_id",
"task_title"
],
"properties": {
"amount": {
"description": "Agreed payment amount",
"examples": [
"100.00"
],
"type": "string"
},
"bid_id": {
"description": "The accepted bid ID",
"type": "string",
"format": "uuid"
},
"task_id": {
"description": "The task the bid was placed on",
"type": "string",
"format": "uuid"
},
"task_title": {
"description": "Title of the task",
"type": "string"
}
}
}Fields§
§amount: StringAgreed payment amount
bid_id: UuidThe accepted bid ID
task_id: UuidThe task the bid was placed on
task_title: StringTitle of the task
Trait Implementations§
Source§impl Clone for WebhookBidAcceptedData
impl Clone for WebhookBidAcceptedData
Source§fn clone(&self) -> WebhookBidAcceptedData
fn clone(&self) -> WebhookBidAcceptedData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WebhookBidAcceptedData
impl Debug for WebhookBidAcceptedData
Source§impl<'de> Deserialize<'de> for WebhookBidAcceptedData
impl<'de> Deserialize<'de> for WebhookBidAcceptedData
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 WebhookBidAcceptedData
impl RefUnwindSafe for WebhookBidAcceptedData
impl Send for WebhookBidAcceptedData
impl Sync for WebhookBidAcceptedData
impl Unpin for WebhookBidAcceptedData
impl UnsafeUnpin for WebhookBidAcceptedData
impl UnwindSafe for WebhookBidAcceptedData
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