pub struct AutoCloseConfig {
pub kind: Option<AutoCloseType>,
pub duration: Option<u32>,
}Expand description
The auto-close behavior of a room’s session, as carried on a Room.
Fields§
§kind: Option<AutoCloseType>What happens when the session closes.
duration: Option<u32>The maximum session duration, in seconds.
Trait Implementations§
Source§impl Clone for AutoCloseConfig
impl Clone for AutoCloseConfig
Source§fn clone(&self) -> AutoCloseConfig
fn clone(&self) -> AutoCloseConfig
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 AutoCloseConfig
impl Debug for AutoCloseConfig
Source§impl<'de> Deserialize<'de> for AutoCloseConfig
impl<'de> Deserialize<'de> for AutoCloseConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AutoCloseConfig
impl RefUnwindSafe for AutoCloseConfig
impl Send for AutoCloseConfig
impl Sync for AutoCloseConfig
impl Unpin for AutoCloseConfig
impl UnsafeUnpin for AutoCloseConfig
impl UnwindSafe for AutoCloseConfig
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