pub struct BoundedSession {
pub session_id: String,
pub initiator: String,
pub responder: String,
pub scope: Vec<String>,
pub nonce: String,
pub valid_until: Option<String>,
}Expand description
The agreed cooperation session after a successful handshake.
Fields§
§session_id: String§initiator: String§responder: String§scope: Vec<String>§nonce: String§valid_until: Option<String>Trait Implementations§
Source§impl Clone for BoundedSession
impl Clone for BoundedSession
Auto Trait Implementations§
impl Forget for BoundedSession
impl Freeze for BoundedSession
impl Move for BoundedSession
impl RefUnwindSafe for BoundedSession
impl Send for BoundedSessionwhere
RawVecInner: Send,
impl Sync for BoundedSessionwhere
RawVecInner: Sync,
impl Unpin for BoundedSession
impl UnsafeUnpin for BoundedSessionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for BoundedSessionwhere
RawVecInner: UnwindSafe,
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