pub struct NewSessionRecord {
pub session_id: String,
pub occurred_at_ms: i64,
pub record_kind: SessionRecordKind,
pub trigger_id: Option<String>,
pub idempotency_key: Option<String>,
pub record: SessionRecord,
}Fields§
§session_id: String§occurred_at_ms: i64§record_kind: SessionRecordKind§trigger_id: Option<String>§idempotency_key: Option<String>§record: SessionRecordImplementations§
Source§impl NewSessionRecord
impl NewSessionRecord
pub fn from_record( session_id: impl Into<String>, record: SessionRecord, ) -> NewSessionRecord
Trait Implementations§
Source§impl Clone for NewSessionRecord
impl Clone for NewSessionRecord
Source§fn clone(&self) -> NewSessionRecord
fn clone(&self) -> NewSessionRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NewSessionRecord
impl Debug for NewSessionRecord
Source§impl<'de> Deserialize<'de> for NewSessionRecord
impl<'de> Deserialize<'de> for NewSessionRecord
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NewSessionRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NewSessionRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NewSessionRecord
impl PartialEq for NewSessionRecord
Source§fn eq(&self, other: &NewSessionRecord) -> bool
fn eq(&self, other: &NewSessionRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NewSessionRecord
impl Serialize for NewSessionRecord
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for NewSessionRecord
Auto Trait Implementations§
impl Freeze for NewSessionRecord
impl RefUnwindSafe for NewSessionRecord
impl Send for NewSessionRecord
impl Sync for NewSessionRecord
impl Unpin for NewSessionRecord
impl UnsafeUnpin for NewSessionRecord
impl UnwindSafe for NewSessionRecord
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