[][src]Struct ynab_api::models::scheduled_transaction_detail::ScheduledTransactionDetail

pub struct ScheduledTransactionDetail {
    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,
    pub account_name: String,
    pub payee_name: Option<String>,
    pub category_name: Option<String>,
    pub subtransactions: Vec<ScheduledSubTransaction>,
}

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.

account_name: Stringpayee_name: Option<String>category_name: Option<String>subtransactions: Vec<ScheduledSubTransaction>

If a split scheduled transaction, the subtransactions.

Methods

impl ScheduledTransactionDetail[src]

pub fn new(
    id: String,
    date_first: String,
    date_next: String,
    frequency: Frequency,
    amount: i64,
    account_id: String,
    deleted: bool,
    account_name: String,
    subtransactions: Vec<ScheduledSubTransaction>
) -> ScheduledTransactionDetail
[src]

Trait Implementations

impl PartialEq<ScheduledTransactionDetail> for ScheduledTransactionDetail[src]

impl Debug for ScheduledTransactionDetail[src]

impl StructuralPartialEq for ScheduledTransactionDetail[src]

impl Serialize for ScheduledTransactionDetail[src]

impl<'de> Deserialize<'de> for ScheduledTransactionDetail[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