pub enum WindowRecord {
Closed(ClosedWindow),
Open(OpenWindow),
}Expand description
A recorded open or closed window.
Variants§
Implementations§
Source§impl WindowRecord
impl WindowRecord
Sourcepub fn id(&self) -> &WindowRecordId
pub fn id(&self) -> &WindowRecordId
Returns the window record ID.
Sourcepub fn window_name(&self) -> &str
pub fn window_name(&self) -> &str
Returns the configured window name.
Sourcepub fn segments(&self) -> &[WindowSegment]
pub fn segments(&self) -> &[WindowSegment]
Returns captured segments.
Returns captured tags.
Sourcepub fn start(&self) -> TemporalPoint
pub fn start(&self) -> TemporalPoint
Returns the start point.
Sourcepub fn end(&self) -> Option<TemporalPoint>
pub fn end(&self) -> Option<TemporalPoint>
Returns the end point when closed.
Trait Implementations§
Source§impl Clone for WindowRecord
impl Clone for WindowRecord
Source§impl Debug for WindowRecord
impl Debug for WindowRecord
Source§impl<'de> Deserialize<'de> for WindowRecord
impl<'de> Deserialize<'de> for WindowRecord
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
Source§impl PartialEq for WindowRecord
impl PartialEq for WindowRecord
Source§impl Serialize for WindowRecord
impl Serialize for WindowRecord
impl StructuralPartialEq for WindowRecord
Auto Trait Implementations§
impl Freeze for WindowRecord
impl RefUnwindSafe for WindowRecord
impl Send for WindowRecord
impl Sync for WindowRecord
impl Unpin for WindowRecord
impl UnsafeUnpin for WindowRecord
impl UnwindSafe for WindowRecord
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