Struct plaid::model::ItemProductReadyWebhook
source · pub struct ItemProductReadyWebhook {
pub environment: String,
pub error: Option<PlaidError>,
pub item_id: String,
pub webhook_code: String,
pub webhook_type: String,
}
Expand description
Fired once Plaid calculates income from an Item.
Fields§
§environment: String
The Plaid environment the webhook was sent from
error: Option<PlaidError>
We use standard HTTP response codes for success and failure notifications, and our errors are further classified by error_type
. In general, 200 HTTP codes correspond to success, 40X codes are for developer- or user-related failures, and 50X codes are for Plaid-related issues. An Item with a non-null
error object will only be part of an API response when calling /item/get
to view Item status. Otherwise, error fields will be null
if no error has occurred; if an error has occurred, an error code will be returned instead.
item_id: String
The item_id
of the Item associated with this webhook, warning, or error
webhook_code: String
PRODUCT_READY
webhook_type: String
INCOME
Trait Implementations§
source§impl Clone for ItemProductReadyWebhook
impl Clone for ItemProductReadyWebhook
source§fn clone(&self) -> ItemProductReadyWebhook
fn clone(&self) -> ItemProductReadyWebhook
Returns a copy of the value. Read more
1.0.0 · 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 ItemProductReadyWebhook
impl Debug for ItemProductReadyWebhook
source§impl Default for ItemProductReadyWebhook
impl Default for ItemProductReadyWebhook
source§fn default() -> ItemProductReadyWebhook
fn default() -> ItemProductReadyWebhook
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ItemProductReadyWebhook
impl<'de> Deserialize<'de> for ItemProductReadyWebhook
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 Display for ItemProductReadyWebhook
impl Display for ItemProductReadyWebhook
Auto Trait Implementations§
impl RefUnwindSafe for ItemProductReadyWebhook
impl Send for ItemProductReadyWebhook
impl Sync for ItemProductReadyWebhook
impl Unpin for ItemProductReadyWebhook
impl UnwindSafe for ItemProductReadyWebhook
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