[][src]Struct ynab_api::models::hybrid_transaction_all_of::HybridTransactionAllOf

pub struct HybridTransactionAllOf {
    pub _type: Type,
    pub parent_transaction_id: Option<String>,
    pub account_name: String,
    pub payee_name: Option<String>,
    pub category_name: Option<String>,
}

Fields

_type: Type

Whether the hybrid transaction represents a regular transaction or a subtransaction

parent_transaction_id: Option<String>

For subtransaction types, this is the id of the parent transaction. For transaction types, this id will be always be null.

account_name: Stringpayee_name: Option<String>category_name: Option<String>

Methods

impl HybridTransactionAllOf[src]

pub fn new(_type: Type, account_name: String) -> HybridTransactionAllOf[src]

Trait Implementations

impl PartialEq<HybridTransactionAllOf> for HybridTransactionAllOf[src]

impl Debug for HybridTransactionAllOf[src]

impl StructuralPartialEq for HybridTransactionAllOf[src]

impl Serialize for HybridTransactionAllOf[src]

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