pub struct SessionPayload {
pub session_id: String,
pub device_id: String,
pub timezone: String,
pub start_time: String,
pub end_time: String,
pub snapshots: Vec<HsiSnapshot>,
pub meta: SessionMeta,
}Available on crate feature
gateway only.Expand description
Session payload structure matching core-gateway expectations.
Fields§
§session_id: StringSession identifier
device_id: StringDevice identifier
timezone: StringTimezone
start_time: StringSession start time (RFC3339)
end_time: StringSession end time (RFC3339)
snapshots: Vec<HsiSnapshot>HSI snapshots as events
meta: SessionMetaMetadata
Trait Implementations§
Source§impl Clone for SessionPayload
impl Clone for SessionPayload
Source§fn clone(&self) -> SessionPayload
fn clone(&self) -> SessionPayload
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 SessionPayload
impl Debug for SessionPayload
Auto Trait Implementations§
impl Freeze for SessionPayload
impl RefUnwindSafe for SessionPayload
impl Send for SessionPayload
impl Sync for SessionPayload
impl Unpin for SessionPayload
impl UnwindSafe for SessionPayload
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