pub struct PricingNote {
pub code: PricingNoteCode,
pub at: Option<DateTime>,
pub message: String,
}Available on crate feature
tariffs only.Expand description
Something the engine wants the reader of a breakdown to know.
Fields§
§code: PricingNoteCodeWhat kind of note this is.
at: Option<DateTime>The moment in the session it concerns, when it concerns one.
message: StringThe same thing in words, for a human reading the breakdown.
Trait Implementations§
Source§impl Clone for PricingNote
impl Clone for PricingNote
Source§fn clone(&self) -> PricingNote
fn clone(&self) -> PricingNote
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 PricingNote
impl Debug for PricingNote
Source§impl<'de> Deserialize<'de> for PricingNote
impl<'de> Deserialize<'de> for PricingNote
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 Display for PricingNote
impl Display for PricingNote
Source§impl PartialEq for PricingNote
impl PartialEq for PricingNote
Source§impl Serialize for PricingNote
impl Serialize for PricingNote
impl StructuralPartialEq for PricingNote
Auto Trait Implementations§
impl Freeze for PricingNote
impl RefUnwindSafe for PricingNote
impl Send for PricingNote
impl Sync for PricingNote
impl Unpin for PricingNote
impl UnsafeUnpin for PricingNote
impl UnwindSafe for PricingNote
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