[][src]Struct firefly_iii::models::transaction_link::TransactionLink

pub struct TransactionLink {
    pub created_at: Option<String>,
    pub updated_at: Option<String>,
    pub link_type_id: i32,
    pub link_type_name: Option<String>,
    pub inward_id: i32,
    pub outward_id: i32,
    pub notes: Option<String>,
}

Fields

created_at: Option<String>updated_at: Option<String>link_type_id: i32

The link type ID to use. You can also use the link_type_name field.

link_type_name: Option<String>

The link type name to use. You can also use the link_type_id field.

inward_id: i32

The inward transaction transaction_journal_id for the link. This becomes the 'is paid by' transaction of the set.

outward_id: i32

The outward transaction transaction_journal_id for the link. This becomes the 'pays for' transaction of the set.

notes: Option<String>

Optional. Some notes.

Methods

impl TransactionLink[src]

pub fn new(
    link_type_id: i32,
    inward_id: i32,
    outward_id: i32
) -> TransactionLink
[src]

Trait Implementations

impl Debug for TransactionLink[src]

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

impl PartialEq<TransactionLink> for TransactionLink[src]

impl Serialize for TransactionLink[src]

impl StructuralPartialEq for TransactionLink[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.