pub enum EntryVisibility {
Public,
Private,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for EntryVisibility
impl Clone for EntryVisibility
source§fn clone(&self) -> EntryVisibility
fn clone(&self) -> EntryVisibility
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 EntryVisibility
impl Debug for EntryVisibility
source§impl Default for EntryVisibility
impl Default for EntryVisibility
source§impl<'de> Deserialize<'de> for EntryVisibility
impl<'de> Deserialize<'de> for EntryVisibility
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 EntryVisibility
impl Hash for EntryVisibility
source§impl Ord for EntryVisibility
impl Ord for EntryVisibility
source§fn cmp(&self, other: &EntryVisibility) -> Ordering
fn cmp(&self, other: &EntryVisibility) -> 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<EntryVisibility> for EntryVisibility
impl PartialEq<EntryVisibility> for EntryVisibility
source§fn eq(&self, other: &EntryVisibility) -> bool
fn eq(&self, other: &EntryVisibility) -> bool
source§impl PartialOrd<EntryVisibility> for EntryVisibility
impl PartialOrd<EntryVisibility> for EntryVisibility
source§fn partial_cmp(&self, other: &EntryVisibility) -> Option<Ordering>
fn partial_cmp(&self, other: &EntryVisibility) -> 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 EntryVisibility
impl Serialize for EntryVisibility
source§impl TryFrom<&EntryVisibility> for SerializedBytes
impl TryFrom<&EntryVisibility> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(
t: &EntryVisibility
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(
t: &EntryVisibility
) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
source§impl TryFrom<EntryVisibility> for SerializedBytes
impl TryFrom<EntryVisibility> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(t: EntryVisibility) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryVisibility) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
source§impl TryFrom<SerializedBytes> for EntryVisibility
impl TryFrom<SerializedBytes> for EntryVisibility
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(
sb: SerializedBytes
) -> Result<EntryVisibility, SerializedBytesError>
fn try_from(
sb: SerializedBytes
) -> Result<EntryVisibility, SerializedBytesError>
Performs the conversion.
impl Copy for EntryVisibility
impl Eq for EntryVisibility
impl StructuralEq for EntryVisibility
impl StructuralPartialEq for EntryVisibility
Auto Trait Implementations§
impl RefUnwindSafe for EntryVisibility
impl Send for EntryVisibility
impl Sync for EntryVisibility
impl Unpin for EntryVisibility
impl UnwindSafe for EntryVisibility
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.