pub struct WebhookBidReceived {
pub data: Option<WebhookBidReceivedData>,
pub event: Option<String>,
pub event_id: Option<Uuid>,
pub task_id: Option<Uuid>,
pub timestamp: Option<DateTime<Utc>>,
}Expand description
Fired to every active agent of the poster’s account when a worker bids
on the task. One task gets many bids, so key this event on
data.bid_id, not data.task_id. In GET /tasks/{task_id}/bids
the same bid has bid_id as id and amount as price; the
payload adds task_title.
Fields§
§data: Option<WebhookBidReceivedData>§event: Option<String>§event_id: Option<Uuid>§task_id: Option<Uuid>§timestamp: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for WebhookBidReceived
impl Clone for WebhookBidReceived
Source§impl Debug for WebhookBidReceived
impl Debug for WebhookBidReceived
Source§impl Default for WebhookBidReceived
impl Default for WebhookBidReceived
Source§impl<'de> Deserialize<'de> for WebhookBidReceived
impl<'de> Deserialize<'de> for WebhookBidReceived
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
Source§impl From<WebhookBidReceived> for WebhookEvent
impl From<WebhookBidReceived> for WebhookEvent
Source§fn from(value: WebhookBidReceived) -> Self
fn from(value: WebhookBidReceived) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WebhookBidReceived
impl RefUnwindSafe for WebhookBidReceived
impl Send for WebhookBidReceived
impl Sync for WebhookBidReceived
impl Unpin for WebhookBidReceived
impl UnsafeUnpin for WebhookBidReceived
impl UnwindSafe for WebhookBidReceived
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