pub struct BillSpec {
pub vendor: String,
pub amount: Option<String>,
pub lines: Vec<DocumentLineSpec>,
}Expand description
A bill from vendor (B-38).
Fields§
§vendor: StringThe vendor’s name.
amount: Option<String>One line’s amount, exactly one of amount and lines.
lines: Vec<DocumentLineSpec>Its lines.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BillSpec
impl<'de> Deserialize<'de> for BillSpec
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 BillSpec
Auto Trait Implementations§
impl Freeze for BillSpec
impl RefUnwindSafe for BillSpec
impl Send for BillSpec
impl Sync for BillSpec
impl Unpin for BillSpec
impl UnsafeUnpin for BillSpec
impl UnwindSafe for BillSpec
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