[][src]Struct ynab_api::models::save_transactions_response_data::SaveTransactionsResponseData

pub struct SaveTransactionsResponseData {
    pub transaction_ids: Vec<String>,
    pub transaction: Option<TransactionDetail>,
    pub transactions: Option<Vec<TransactionDetail>>,
    pub duplicate_import_ids: Option<Vec<String>>,
    pub server_knowledge: i64,
}

Fields

transaction_ids: Vec<String>

The transaction ids that were saved

transaction: Option<TransactionDetail>transactions: Option<Vec<TransactionDetail>>

If multiple transactions were specified, the transactions that were saved

duplicate_import_ids: Option<Vec<String>>

If multiple transactions were specified, a list of import_ids that were not created because of an existing import_id found on the same account

server_knowledge: i64

The knowledge of the server

Methods

impl SaveTransactionsResponseData[src]

pub fn new(
    transaction_ids: Vec<String>,
    server_knowledge: i64
) -> SaveTransactionsResponseData
[src]

Trait Implementations

impl PartialEq<SaveTransactionsResponseData> for SaveTransactionsResponseData[src]

impl Debug for SaveTransactionsResponseData[src]

impl StructuralPartialEq for SaveTransactionsResponseData[src]

impl Serialize for SaveTransactionsResponseData[src]

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