[][src]Struct ynab_api::models::scheduled_transaction_summary::ScheduledTransactionSummary

pub struct ScheduledTransactionSummary {
    pub id: String,
    pub date_first: String,
    pub date_next: String,
    pub frequency: Frequency,
    pub amount: i64,
    pub memo: Option<String>,
    pub flag_color: Option<FlagColor>,
    pub account_id: String,
    pub payee_id: Option<String>,
    pub category_id: Option<String>,
    pub transfer_account_id: Option<String>,
    pub deleted: bool,
}

Fields

id: Stringdate_first: String

The first date for which the Scheduled Transaction was scheduled.

date_next: String

The next date for which the Scheduled Transaction is scheduled.

frequency: Frequencyamount: i64

The scheduled transaction amount in milliunits format

memo: Option<String>flag_color: Option<FlagColor>

The scheduled transaction flag

account_id: Stringpayee_id: Option<String>category_id: Option<String>transfer_account_id: Option<String>

If a transfer, the account_id which the scheduled transaction transfers to

deleted: bool

Whether or not the scheduled transaction has been deleted. Deleted scheduled transactions will only be included in delta requests.

Methods

impl ScheduledTransactionSummary[src]

pub fn new(
    id: String,
    date_first: String,
    date_next: String,
    frequency: Frequency,
    amount: i64,
    account_id: String,
    deleted: bool
) -> ScheduledTransactionSummary
[src]

Trait Implementations

impl PartialEq<ScheduledTransactionSummary> for ScheduledTransactionSummary[src]

impl Debug for ScheduledTransactionSummary[src]

impl StructuralPartialEq for ScheduledTransactionSummary[src]

impl Serialize for ScheduledTransactionSummary[src]

impl<'de> Deserialize<'de> for ScheduledTransactionSummary[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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

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

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