pub struct BatchNotification {
pub batch: Batch,
pub model: String,
pub input_file_name: Option<String>,
pub input_file_description: Option<String>,
}Expand description
A batch with extra context for notification emails (file metadata, model names).
Returned by poll_completed_batches which joins the files and requests tables.
Fields§
§batch: Batch§model: String§input_file_name: Option<String>§input_file_description: Option<String>Trait Implementations§
Source§impl Clone for BatchNotification
impl Clone for BatchNotification
Source§fn clone(&self) -> BatchNotification
fn clone(&self) -> BatchNotification
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 moreAuto Trait Implementations§
impl Freeze for BatchNotification
impl RefUnwindSafe for BatchNotification
impl Send for BatchNotification
impl Sync for BatchNotification
impl Unpin for BatchNotification
impl UnsafeUnpin for BatchNotification
impl UnwindSafe for BatchNotification
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