pub struct Session {
pub id: SessionId,
pub conversation_id: ConversationId,
pub state: SessionState,
pub medium: SessionMedium,
pub participants: HashSet<ParticipantId>,
pub connections: HashMap<ConnectionId, ConnectionRef>,
pub negotiated_capabilities: CapabilityIntersection,
pub started_at: DateTime<Utc>,
pub ended_at: Option<DateTime<Utc>>,
pub end_reason: Option<EndReason>,
}Fields§
§id: SessionId§conversation_id: ConversationId§state: SessionState§medium: SessionMedium§participants: HashSet<ParticipantId>§connections: HashMap<ConnectionId, ConnectionRef>§negotiated_capabilities: CapabilityIntersection§started_at: DateTime<Utc>§ended_at: Option<DateTime<Utc>>§end_reason: Option<EndReason>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Session
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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