pub struct LineSpec {
pub account: String,
pub side: String,
pub amount: String,
pub project: Option<String>,
}Expand description
One line of an entry.
Fields§
§account: StringThe account’s code.
side: Stringdebit or credit.
amount: StringThe amount, an exact decimal string above zero.
project: Option<String>The project the line is tagged with.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LineSpec
impl<'de> Deserialize<'de> for LineSpec
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
impl StructuralPartialEq for LineSpec
Auto Trait Implementations§
impl Freeze for LineSpec
impl RefUnwindSafe for LineSpec
impl Send for LineSpec
impl Sync for LineSpec
impl Unpin for LineSpec
impl UnsafeUnpin for LineSpec
impl UnwindSafe for LineSpec
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