pub struct SessionSection {
pub id: String,
pub name: Option<String>,
pub mode: LifecycleMode,
pub started_at: String,
pub ended_at: Option<String>,
pub status: SessionStatus,
pub duration_ms: Option<u64>,
}Expand description
Session metadata section of the receipt.
Fields§
§id: String§name: Option<String>§mode: LifecycleMode§started_at: String§ended_at: Option<String>§status: SessionStatus§duration_ms: Option<u64>Trait Implementations§
Source§impl Clone for SessionSection
impl Clone for SessionSection
Source§fn clone(&self) -> SessionSection
fn clone(&self) -> SessionSection
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 SessionSection
impl Debug for SessionSection
Source§impl<'de> Deserialize<'de> for SessionSection
impl<'de> Deserialize<'de> for SessionSection
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 SessionSection
impl RefUnwindSafe for SessionSection
impl Send for SessionSection
impl Sync for SessionSection
impl Unpin for SessionSection
impl UnsafeUnpin for SessionSection
impl UnwindSafe for SessionSection
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