pub enum ShareVisibility {
Private,
Restricted,
Public,
}Expand description
Access tier for a shared recording, mirroring Loom’s model. Wire-stable snake_case strings — the platform’s Zod schema validates against this exact list, so a rename here would bounce every share command with a 400.
Private— owner only (the default; “not shared”).Restricted— owner + explicitly invited WaveKat accounts; the recipient must be signed in as an invited identity (“protected by login”).Public— anyone holding the capability link, no sign-in.
Variants§
Trait Implementations§
Source§fn clone(&self) -> ShareVisibility
fn clone(&self) -> ShareVisibility
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§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
Source§fn eq(&self, other: &ShareVisibility) -> bool
fn eq(&self, other: &ShareVisibility) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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