pub enum DirectoryKind {
Directory,
Entry,
}Expand description
Directory kind
Variants§
Directory
the resource is a directory service that the entity represented by the Card is a part of. This typically is an organizational directory that also contains associated entities, e.g., co-workers and management in a company directory.
Entry
the resource is a directory entry of the entity represented by the Card. In contrast to the “directory” type, this is the specific URI for the entity within a directory.
Trait Implementations§
Source§impl Clone for DirectoryKind
impl Clone for DirectoryKind
Source§fn clone(&self) -> DirectoryKind
fn clone(&self) -> DirectoryKind
Returns a duplicate 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 DirectoryKind
impl Debug for DirectoryKind
Source§impl<'de> Deserialize<'de> for DirectoryKind
impl<'de> Deserialize<'de> for DirectoryKind
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 From<String> for DirectoryKind
impl From<String> for DirectoryKind
Source§impl PartialEq for DirectoryKind
impl PartialEq for DirectoryKind
Source§impl Serialize for DirectoryKind
impl Serialize for DirectoryKind
impl StructuralPartialEq for DirectoryKind
Auto Trait Implementations§
impl Freeze for DirectoryKind
impl RefUnwindSafe for DirectoryKind
impl Send for DirectoryKind
impl Sync for DirectoryKind
impl Unpin for DirectoryKind
impl UnwindSafe for DirectoryKind
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