pub enum WorkroomVisibility {
Private,
Shared {
allowed_tokens: Vec<String>,
},
}Expand description
Visibility controls for a workroom.
Variants§
Private
Only the local user can access.
Accessible to callers bearing one of the listed bearer tokens.
Trait Implementations§
Source§impl Clone for WorkroomVisibility
impl Clone for WorkroomVisibility
Source§fn clone(&self) -> WorkroomVisibility
fn clone(&self) -> WorkroomVisibility
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 WorkroomVisibility
impl Debug for WorkroomVisibility
Source§impl<'de> Deserialize<'de> for WorkroomVisibility
impl<'de> Deserialize<'de> for WorkroomVisibility
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 WorkroomVisibility
impl RefUnwindSafe for WorkroomVisibility
impl Send for WorkroomVisibility
impl Sync for WorkroomVisibility
impl Unpin for WorkroomVisibility
impl UnsafeUnpin for WorkroomVisibility
impl UnwindSafe for WorkroomVisibility
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