pub struct SessionArchiveV2 {
pub version: u32,
pub session_id: String,
pub net_name: String,
pub dot_diagram: String,
pub start_time: String,
pub end_time: Option<String>,
pub event_count: usize,
pub tags: HashMap<String, String>,
pub metadata: SessionMetadata,
pub structure: NetStructure,
}Expand description
v2 archive header (libpetri 1.7.0+). Adds end time, tags, and pre-computed metadata so listing tools and samplers can filter/aggregate without scanning the event body.
Fields§
§version: u32§session_id: String§net_name: String§dot_diagram: String§start_time: String§end_time: Option<String>§event_count: usize§metadata: SessionMetadata§structure: NetStructureTrait Implementations§
Source§impl Clone for SessionArchiveV2
impl Clone for SessionArchiveV2
Source§fn clone(&self) -> SessionArchiveV2
fn clone(&self) -> SessionArchiveV2
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 SessionArchiveV2
impl Debug for SessionArchiveV2
Source§impl<'de> Deserialize<'de> for SessionArchiveV2
impl<'de> Deserialize<'de> for SessionArchiveV2
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
Auto Trait Implementations§
impl Freeze for SessionArchiveV2
impl RefUnwindSafe for SessionArchiveV2
impl Send for SessionArchiveV2
impl Sync for SessionArchiveV2
impl Unpin for SessionArchiveV2
impl UnsafeUnpin for SessionArchiveV2
impl UnwindSafe for SessionArchiveV2
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