Enum dsnp_graph_config::PrivacyType
source · #[repr(C)]pub enum PrivacyType {
Public = 0,
Private = 1,
}
Expand description
Privacy Type of the graph
Variants§
Public = 0
publicly accessible graph
Private = 1
only accessible to owner of the graph and whoever the encryption keys have been shared with
Trait Implementations§
source§impl Clone for PrivacyType
impl Clone for PrivacyType
source§fn clone(&self) -> PrivacyType
fn clone(&self) -> PrivacyType
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 PrivacyType
impl Debug for PrivacyType
source§impl<'de> Deserialize<'de> for PrivacyType
impl<'de> Deserialize<'de> for PrivacyType
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 Hash for PrivacyType
impl Hash for PrivacyType
source§impl Ord for PrivacyType
impl Ord for PrivacyType
source§fn cmp(&self, other: &PrivacyType) -> Ordering
fn cmp(&self, other: &PrivacyType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PrivacyType
impl PartialEq for PrivacyType
source§fn eq(&self, other: &PrivacyType) -> bool
fn eq(&self, other: &PrivacyType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PrivacyType
impl PartialOrd for PrivacyType
source§fn partial_cmp(&self, other: &PrivacyType) -> Option<Ordering>
fn partial_cmp(&self, other: &PrivacyType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for PrivacyType
impl Serialize for PrivacyType
impl Copy for PrivacyType
impl Eq for PrivacyType
impl StructuralEq for PrivacyType
impl StructuralPartialEq for PrivacyType
Auto Trait Implementations§
impl RefUnwindSafe for PrivacyType
impl Send for PrivacyType
impl Sync for PrivacyType
impl Unpin for PrivacyType
impl UnwindSafe for PrivacyType
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