pub struct MessageSummary {
pub volume_coverage_patterns: HashSet<VolumeCoveragePattern>,
pub message_types: Vec<(MessageType, usize)>,
pub scans: Vec<ScanSummary>,
pub earliest_collection_time: Option<DateTime<Utc>>,
pub latest_collection_time: Option<DateTime<Utc>>,
}Expand description
Summary of a set of messages.
Fields§
§volume_coverage_patterns: HashSet<VolumeCoveragePattern>The distinct volume coverage patterns found in these messages.
message_types: Vec<(MessageType, usize)>The number of messages of each type in the order they appear. Multiple messages of the same type will be grouped together if consecutive.
scans: Vec<ScanSummary>Summaries of each scan found in these messages.
earliest_collection_time: Option<DateTime<Utc>>§latest_collection_time: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for MessageSummary
impl Clone for MessageSummary
Source§fn clone(&self) -> MessageSummary
fn clone(&self) -> MessageSummary
Returns a duplicate of the value. Read more
1.0.0 · 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 MessageSummary
impl Debug for MessageSummary
Source§impl PartialEq for MessageSummary
impl PartialEq for MessageSummary
impl StructuralPartialEq for MessageSummary
Auto Trait Implementations§
impl Freeze for MessageSummary
impl RefUnwindSafe for MessageSummary
impl Send for MessageSummary
impl Sync for MessageSummary
impl Unpin for MessageSummary
impl UnwindSafe for MessageSummary
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