pub struct Batch {
pub batch_header: BatchHeader,
pub detail_entries: Vec<DetailEntry>,
/* private fields */
}
Fields
batch_header: BatchHeader
detail_entries: Vec<DetailEntry>
Implementations
sourceimpl Batch
impl Batch
pub fn new_entry(&mut self, line: String)
pub fn last_entry(&mut self) -> &mut DetailEntry
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Batch
impl<'de> Deserialize<'de> for Batch
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for Batch
impl Send for Batch
impl Sync for Batch
impl Unpin for Batch
impl UnwindSafe for Batch
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more