pub struct OptionalDatePosting {
pub date: Option<NaiveDate>,
pub effective_date: Option<NaiveDate>,
pub account: String,
pub reality: Reality,
pub amount: Amount,
pub status: Option<TransactionStatus>,
pub comment: Option<String>,
pub tags: Vec<Tag>,
}
Fields§
§date: Option<NaiveDate>
§effective_date: Option<NaiveDate>
§account: String
§reality: Reality
§amount: Amount
§status: Option<TransactionStatus>
§comment: Option<String>
Implementations§
Trait Implementations§
Source§impl Clone for OptionalDatePosting
impl Clone for OptionalDatePosting
Source§fn clone(&self) -> OptionalDatePosting
fn clone(&self) -> OptionalDatePosting
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 OptionalDatePosting
impl Debug for OptionalDatePosting
Source§impl Display for OptionalDatePosting
impl Display for OptionalDatePosting
Source§impl PartialEq for OptionalDatePosting
impl PartialEq for OptionalDatePosting
Source§impl Serializer for OptionalDatePosting
impl Serializer for OptionalDatePosting
fn write<W>(
&self,
writer: &mut W,
settings: &SerializerSettings,
) -> Result<(), Error>where
W: Write,
fn to_string_pretty(&self, settings: &SerializerSettings) -> String
Source§impl TryFrom<Posting> for OptionalDatePosting
impl TryFrom<Posting> for OptionalDatePosting
impl Eq for OptionalDatePosting
impl StructuralPartialEq for OptionalDatePosting
Auto Trait Implementations§
impl Freeze for OptionalDatePosting
impl RefUnwindSafe for OptionalDatePosting
impl Send for OptionalDatePosting
impl Sync for OptionalDatePosting
impl Unpin for OptionalDatePosting
impl UnwindSafe for OptionalDatePosting
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