pub struct TankSession {
pub session_id: String,
pub lease: Duration,
pub viewers: usize,
}Expand description
Result of creating a viewer/control session.
Fields§
§session_id: String§lease: Duration§viewers: usizeTrait Implementations§
Source§impl Clone for TankSession
impl Clone for TankSession
Source§fn clone(&self) -> TankSession
fn clone(&self) -> TankSession
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 moreAuto Trait Implementations§
impl Freeze for TankSession
impl RefUnwindSafe for TankSession
impl Send for TankSession
impl Sync for TankSession
impl Unpin for TankSession
impl UnsafeUnpin for TankSession
impl UnwindSafe for TankSession
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