#[repr(u8)]pub enum FileVisibilityV2 {
Public = 0,
Private = 1,
}Expand description
File visibility. Determines whether access_list entries must carry
encrypted bundles (Private) or must not (Public). Plan §3.5.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for FileVisibilityV2
impl Clone for FileVisibilityV2
Source§fn clone(&self) -> FileVisibilityV2
fn clone(&self) -> FileVisibilityV2
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 FileVisibilityV2
impl Debug for FileVisibilityV2
Source§impl<'de> Deserialize<'de> for FileVisibilityV2
impl<'de> Deserialize<'de> for FileVisibilityV2
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 PartialEq for FileVisibilityV2
impl PartialEq for FileVisibilityV2
Source§fn eq(&self, other: &FileVisibilityV2) -> bool
fn eq(&self, other: &FileVisibilityV2) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FileVisibilityV2
impl Serialize for FileVisibilityV2
impl Copy for FileVisibilityV2
impl Eq for FileVisibilityV2
impl StructuralPartialEq for FileVisibilityV2
Auto Trait Implementations§
impl Freeze for FileVisibilityV2
impl RefUnwindSafe for FileVisibilityV2
impl Send for FileVisibilityV2
impl Sync for FileVisibilityV2
impl Unpin for FileVisibilityV2
impl UnsafeUnpin for FileVisibilityV2
impl UnwindSafe for FileVisibilityV2
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