Struct tackler_core::model::posting::Posting
source · #[non_exhaustive]pub struct Posting {
pub acctn: AccountTreeNode,
pub amount: Decimal,
pub txn_amount: Decimal,
pub is_total_amount: bool,
pub txn_commodity: Option<Commodity>,
pub comment: Option<String>,
pub atn_key: String,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.acctn: AccountTreeNode§amount: Decimal§txn_amount: Decimal§is_total_amount: bool§txn_commodity: Option<Commodity>§comment: Option<String>§atn_key: StringTrait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Posting
impl Send for Posting
impl Sync for Posting
impl Unpin for Posting
impl UnwindSafe for Posting
Blanket Implementations§
§impl<T> AnyExt for Twhere
T: Any + ?Sized,
impl<T> AnyExt for Twhere T: Any + ?Sized,
§fn downcast_ref<T>(this: &Self) -> Option<&T>where
T: Any,
fn downcast_ref<T>(this: &Self) -> Option<&T>where T: Any,
Attempts to downcast this to
T behind reference§fn downcast_mut<T>(this: &mut Self) -> Option<&mut T>where
T: Any,
fn downcast_mut<T>(this: &mut Self) -> Option<&mut T>where T: Any,
Attempts to downcast this to
T behind mutable reference§fn downcast_rc<T>(this: Rc<Self>) -> Result<Rc<T>, Rc<Self>>where
T: Any,
fn downcast_rc<T>(this: Rc<Self>) -> Result<Rc<T>, Rc<Self>>where T: Any,
Attempts to downcast this to
T behind Rc pointer§fn downcast_arc<T>(this: Arc<Self>) -> Result<Arc<T>, Arc<Self>>where
T: Any,
fn downcast_arc<T>(this: Arc<Self>) -> Result<Arc<T>, Arc<Self>>where T: Any,
Attempts to downcast this to
T behind Arc pointer§fn downcast_box<T>(
this: Box<Self, Global>
) -> Result<Box<T, Global>, Box<Self, Global>>where
T: Any,
fn downcast_box<T>( this: Box<Self, Global> ) -> Result<Box<T, Global>, Box<Self, Global>>where T: Any,
Attempts to downcast this to
T behind Box pointer§fn downcast_move<T>(this: Self) -> Option<T>where
T: Any,
Self: Sized,
fn downcast_move<T>(this: Self) -> Option<T>where T: Any, Self: Sized,
Attempts to downcast owned
Self to T,
useful only in generic context as a workaround for specialization