#[repr(u8)]pub enum FetchNodesNodeKind {
File = 0,
Directory = 1,
Root = 2,
Inbox = 3,
TrashBin = 4,
}
Expand description
The kind of node
Variants§
File = 0
A file
Directory = 1
A directory
Root = 2
The special root directory
Inbox = 3
The special inbox directory
TrashBin = 4
The special trash bin directory
Implementations§
Source§impl FetchNodesNodeKind
impl FetchNodesNodeKind
Sourcepub fn is_trash_bin(self) -> bool
pub fn is_trash_bin(self) -> bool
Returns true if this is a trash bin.
Trait Implementations§
Source§impl Clone for FetchNodesNodeKind
impl Clone for FetchNodesNodeKind
Source§fn clone(&self) -> FetchNodesNodeKind
fn clone(&self) -> FetchNodesNodeKind
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 FetchNodesNodeKind
impl Debug for FetchNodesNodeKind
Source§impl<'de> Deserialize<'de> for FetchNodesNodeKind
impl<'de> Deserialize<'de> for FetchNodesNodeKind
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 FetchNodesNodeKind
impl Hash for FetchNodesNodeKind
Source§impl PartialEq for FetchNodesNodeKind
impl PartialEq for FetchNodesNodeKind
Source§impl Serialize for FetchNodesNodeKind
impl Serialize for FetchNodesNodeKind
impl Copy for FetchNodesNodeKind
impl Eq for FetchNodesNodeKind
impl StructuralPartialEq for FetchNodesNodeKind
Auto Trait Implementations§
impl Freeze for FetchNodesNodeKind
impl RefUnwindSafe for FetchNodesNodeKind
impl Send for FetchNodesNodeKind
impl Sync for FetchNodesNodeKind
impl Unpin for FetchNodesNodeKind
impl UnwindSafe for FetchNodesNodeKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.