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: String
§payee_name: Option<String>
§category_name: Option<String>
The name of the category. If a split transaction, this will be ‘Split’.
Implementations§
Source§impl HybridTransactionAllOf
impl HybridTransactionAllOf
pub fn new(_type: Type, account_name: String) -> HybridTransactionAllOf
Trait Implementations§
Source§impl Clone for HybridTransactionAllOf
impl Clone for HybridTransactionAllOf
Source§fn clone(&self) -> HybridTransactionAllOf
fn clone(&self) -> HybridTransactionAllOf
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HybridTransactionAllOf
impl Debug for HybridTransactionAllOf
Source§impl<'de> Deserialize<'de> for HybridTransactionAllOf
impl<'de> Deserialize<'de> for HybridTransactionAllOf
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HybridTransactionAllOf
impl PartialEq for HybridTransactionAllOf
Source§impl Serialize for HybridTransactionAllOf
impl Serialize for HybridTransactionAllOf
impl StructuralPartialEq for HybridTransactionAllOf
Auto Trait Implementations§
impl Freeze for HybridTransactionAllOf
impl RefUnwindSafe for HybridTransactionAllOf
impl Send for HybridTransactionAllOf
impl Sync for HybridTransactionAllOf
impl Unpin for HybridTransactionAllOf
impl UnwindSafe for HybridTransactionAllOf
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more