pub struct Report {
pub id: TransactionID,
pub state: TransactionState,
pub status: TransactionStatus,
pub condition: Condition,
pub file_size: u64,
pub file_bytes_received: Option<u64>,
pub file_bytes_sent: Option<u64>,
pub empty_nak_received: bool,
pub direction: Option<Direction>,
pub file_name: String,
pub submit_date: DateTime<Utc>,
}Expand description
Simple Status Report Transaction status report
Fields§
§id: TransactionIDThe unique ID of the transaction.
state: TransactionStateCurrent state of the transaction
status: TransactionStatusCurrent status of the transaction.
condition: ConditionLast known condition of the transaction.
file_size: u64File size of the transaction
file_bytes_received: Option<u64>Bytes received by the transaction
file_bytes_sent: Option<u64>Bytes sent by the transaction
empty_nak_received: boolWhether an empty NAK was received.
direction: Option<Direction>Transaction Direction
file_name: StringName of file
submit_date: DateTime<Utc>Date time file was initially submitted/received
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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