FeedItem

Struct FeedItem 

Source
pub struct FeedItem {
Show 31 fields pub feed_item_uid: Uuid, pub category_uid: Uuid, pub account_uid: Uuid, pub amount: CurrencyAndAmount, pub source_amount: CurrencyAndAmount, pub direction: Direction, pub updated_at: DateTime<Utc>, pub transaction_time: DateTime<Utc>, pub settlement_time: DateTime<Utc>, pub source: Source, pub source_sub_type: SourceSubtype, pub status: Status, pub transacting_application_user_uid: Uuid, pub counter_party_type: CounterPartyType, pub counter_party_uid: Uuid, pub counter_party_name: String, pub counter_party_sub_entity_uid: Uuid, pub counter_party_sub_entity_name: String, pub counter_party_sub_entity_identifier: String, pub counter_party_sub_entity_sub_identifier: String, pub exchange_rate: f64, pub total_fee_amount: CurrencyAndAmount, pub reference: String, pub country: Country, pub spending_category: SpendingCategory, pub user_note: String, pub round_up: AssociatedFeedRoundUp, pub has_attachment: bool, pub receipt_present: bool, pub feed_item_failure_reason: FeedItemFailureReason, pub master_card_feed_details: MasterCardFeedItemData,
}
Expand description

An item from the account holders’ transaction feed

Fields§

§feed_item_uid: Uuid

Unique identifier for this item

§category_uid: Uuid

The category on which the transaction happened

§account_uid: Uuid

The account for which the transaction happened

§amount: CurrencyAndAmount

Representation of money

§source_amount: CurrencyAndAmount

Representation of money

§direction: Direction

Was this an inbound or outbound transaction

§updated_at: DateTime<Utc>

The time the transaction was last updated at

§transaction_time: DateTime<Utc>

The time of the transaction

§settlement_time: DateTime<Utc>

The time the transaction settled

§source: Source

The source of the transaction

§source_sub_type: SourceSubtype

The source subtype of the transaction

§status: Status

The status of the transaction

§transacting_application_user_uid: Uuid

The application user that made the transaction

§counter_party_type: CounterPartyType

The type of counter party for this transaction

§counter_party_uid: Uuid

The unique identifier for the counter party

§counter_party_name: String

The name of the counter party

§counter_party_sub_entity_uid: Uuid

An identifier for the counter party sub entity

§counter_party_sub_entity_name: String

A name for the counter party sub entity

§counter_party_sub_entity_identifier: String

An external identifier for the sub entity

§counter_party_sub_entity_sub_identifier: String

An external sub identifier for the sub entity

§exchange_rate: f64

The exchange rate applied between different currencies

§total_fee_amount: CurrencyAndAmount

Representation of money

§reference: String

The reference for the transaction

§country: Country

The country in which the transaction took place

§spending_category: SpendingCategory

The category of the transaction

§user_note: String

The user-provided transaction note

§round_up: AssociatedFeedRoundUp

Round up details associated with a feed item

§has_attachment: bool

Indicates whether an attachment exists for the feed item

§receipt_present: bool

Indicates if a copy of the receipt is present

§feed_item_failure_reason: FeedItemFailureReason

Provides the failure reason for a failed transaction

§master_card_feed_details: MasterCardFeedItemData

The MasterCard feed item details

Trait Implementations§

Source§

impl Clone for FeedItem

Source§

fn clone(&self) -> FeedItem

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FeedItem

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for FeedItem

Source§

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 PartialEq for FeedItem

Source§

fn eq(&self, other: &FeedItem) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for FeedItem

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,