pub struct WebhookData {Show 37 fields
pub id: String,
pub created: DateTime<Utc>,
pub description: String,
pub amount: i64,
pub currency: String,
pub is_load: bool,
pub settled: SettledTimestamp,
pub local_amount: i64,
pub local_currency: String,
pub merchant: Option<Merchant>,
pub merchant_feedback_uri: String,
pub notes: String,
pub metadata: WebhookMetadata,
pub category: String,
pub updated: DateTime<Utc>,
pub account_id: String,
pub user_id: String,
pub counterparty: CounterpartyOrNone,
pub scheme: Scheme,
pub dedupe_id: String,
pub originator: bool,
pub include_in_spending: bool,
pub can_be_excluded_from_breakdown: bool,
pub can_be_made_subscription: bool,
pub can_split_the_bill: bool,
pub can_add_to_tab: bool,
pub can_match_transactions_in_categorization: bool,
pub amount_is_pending: bool,
pub parent_account_id: String,
pub categories: Option<HashMap<String, i64>>,
pub declined: Option<Decline>,
pub attachments: (),
pub atm_fees_detailed: (),
pub fees: HashMap<(), ()>,
pub international: (),
pub labels: (),
pub extra: ExtraValues,
}Fields§
§id: String§created: DateTime<Utc>§description: String§amount: i64The amount of money in the transaction, in whole pence (or equivalent for foreign currency)
currency: StringThe ISO 4127 currency code of Self::amount
is_load: bool§settled: SettledTimestamp§local_amount: i64The amount of money in the transaction, in whole pence (or equivalent for foreign currency)
local_currency: StringThe ISO 4127 currency code of Self::local_amount
merchant: Option<Merchant>§merchant_feedback_uri: String§notes: String§metadata: WebhookMetadata§category: String§updated: DateTime<Utc>§account_id: String§user_id: String§counterparty: CounterpartyOrNone§scheme: Scheme§dedupe_id: String§originator: bool§include_in_spending: bool§can_be_excluded_from_breakdown: bool§can_be_made_subscription: bool§can_split_the_bill: bool§can_add_to_tab: bool§can_match_transactions_in_categorization: bool§amount_is_pending: bool§parent_account_id: String§categories: Option<HashMap<String, i64>>§declined: Option<Decline>§attachments: ()§atm_fees_detailed: ()§fees: HashMap<(), ()>§international: ()§labels: ()§extra: ExtraValuesThe value had extra fields that weren’t parsed into another field.
Trait Implementations§
Source§impl Clone for WebhookData
impl Clone for WebhookData
Source§fn clone(&self) -> WebhookData
fn clone(&self) -> WebhookData
Returns a duplicate 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 WebhookData
impl Debug for WebhookData
Source§impl<'de> Deserialize<'de> for WebhookData
impl<'de> Deserialize<'de> for WebhookData
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 HasExtraData for WebhookData
Available on crate feature decode_everything only.
impl HasExtraData for WebhookData
Available on crate feature
decode_everything only.Source§fn has_extra_data(&self) -> bool
fn has_extra_data(&self) -> bool
Recursively check if any extra data is present on this object or
any of it’s children.
Source§impl PartialEq for WebhookData
impl PartialEq for WebhookData
impl StructuralPartialEq for WebhookData
Auto Trait Implementations§
impl Freeze for WebhookData
impl RefUnwindSafe for WebhookData
impl Send for WebhookData
impl Sync for WebhookData
impl Unpin for WebhookData
impl UnwindSafe for WebhookData
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