#[repr(i16)]pub enum PrivacyLevel {
Public = 0,
Unlisted = 1,
Private = 2,
}
Expand description
Access level for the jig.
Variants§
Public = 0
Publicly available and indexed. Can be shared with others.
Unlisted = 1
Not indexed, but can be accessed by non-owners if the id is known. “Private” in the front-end
Private = 2
NOT IMPLEMENTED. Only available to the author.
Implementations§
Trait Implementations§
Source§impl Clone for PrivacyLevel
impl Clone for PrivacyLevel
Source§fn clone(&self) -> PrivacyLevel
fn clone(&self) -> PrivacyLevel
Returns a copy of the value. Read more
1.0.0 · 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 PrivacyLevel
impl Debug for PrivacyLevel
Source§impl Default for PrivacyLevel
impl Default for PrivacyLevel
Source§impl<'de> Deserialize<'de> for PrivacyLevel
impl<'de> Deserialize<'de> for PrivacyLevel
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
Source§impl FromStr for PrivacyLevel
impl FromStr for PrivacyLevel
Source§impl PartialEq for PrivacyLevel
impl PartialEq for PrivacyLevel
Source§impl Serialize for PrivacyLevel
impl Serialize for PrivacyLevel
impl Copy for PrivacyLevel
impl Eq for PrivacyLevel
impl StructuralPartialEq for PrivacyLevel
Auto Trait Implementations§
impl Freeze for PrivacyLevel
impl RefUnwindSafe for PrivacyLevel
impl Send for PrivacyLevel
impl Sync for PrivacyLevel
impl Unpin for PrivacyLevel
impl UnwindSafe for PrivacyLevel
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