pub struct AutoCloseConfigInput {
pub after_inactive_seconds: Option<u32>,
pub kind: Option<AutoCloseType>,
}Expand description
The auto-close behavior for a room’s session.
Fields§
§after_inactive_seconds: Option<u32>Automatically close the session after this many seconds.
kind: Option<AutoCloseType>What happens when the session closes. Defaults to
AutoCloseType::SESSION_ENDS.
Trait Implementations§
Source§impl Clone for AutoCloseConfigInput
impl Clone for AutoCloseConfigInput
Source§fn clone(&self) -> AutoCloseConfigInput
fn clone(&self) -> AutoCloseConfigInput
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 AutoCloseConfigInput
impl Debug for AutoCloseConfigInput
Source§impl Default for AutoCloseConfigInput
impl Default for AutoCloseConfigInput
Source§fn default() -> AutoCloseConfigInput
fn default() -> AutoCloseConfigInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AutoCloseConfigInput
impl RefUnwindSafe for AutoCloseConfigInput
impl Send for AutoCloseConfigInput
impl Sync for AutoCloseConfigInput
impl Unpin for AutoCloseConfigInput
impl UnsafeUnpin for AutoCloseConfigInput
impl UnwindSafe for AutoCloseConfigInput
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