pub struct DocumentLineSpec {
pub amount: String,
pub description: Option<String>,
pub project: Option<String>,
}Expand description
One line of an invoice or a bill.
Fields§
§amount: StringIts amount, an exact decimal string above zero.
description: Option<String>What it is (the event’s description when left out).
project: Option<String>The project it belongs to.
Trait Implementations§
Source§impl Clone for DocumentLineSpec
impl Clone for DocumentLineSpec
Source§fn clone(&self) -> DocumentLineSpec
fn clone(&self) -> DocumentLineSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DocumentLineSpec
impl Debug for DocumentLineSpec
Source§impl<'de> Deserialize<'de> for DocumentLineSpec
impl<'de> Deserialize<'de> for DocumentLineSpec
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 DocumentLineSpec
impl PartialEq for DocumentLineSpec
impl StructuralPartialEq for DocumentLineSpec
Auto Trait Implementations§
impl Freeze for DocumentLineSpec
impl RefUnwindSafe for DocumentLineSpec
impl Send for DocumentLineSpec
impl Sync for DocumentLineSpec
impl Unpin for DocumentLineSpec
impl UnsafeUnpin for DocumentLineSpec
impl UnwindSafe for DocumentLineSpec
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