Struct dynasty_api::directory::DirectoryItem
source · [−]pub struct DirectoryItem {
pub name: String,
pub permalink: String,
pub kind: DirectoryKind,
}Expand description
A Dynasty Reader’s Directory item
Fields
name: Stringpermalink: Stringkind: DirectoryKindTrait Implementations
sourceimpl Clone for DirectoryItem
impl Clone for DirectoryItem
sourcefn clone(&self) -> DirectoryItem
fn clone(&self) -> DirectoryItem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for DirectoryItem
impl Debug for DirectoryItem
sourceimpl<'de> Deserialize<'de> for DirectoryItem
impl<'de> Deserialize<'de> for DirectoryItem
sourcefn 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
sourceimpl From<DirectoryItem> for DirectoryListConfig
impl From<DirectoryItem> for DirectoryListConfig
sourcefn from(item: DirectoryItem) -> Self
fn from(item: DirectoryItem) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<DirectoryItem> for DirectoryItem
impl PartialEq<DirectoryItem> for DirectoryItem
sourcefn eq(&self, other: &DirectoryItem) -> bool
fn eq(&self, other: &DirectoryItem) -> bool
sourceimpl Serialize for DirectoryItem
impl Serialize for DirectoryItem
impl Eq for DirectoryItem
impl StructuralEq for DirectoryItem
impl StructuralPartialEq for DirectoryItem
Auto Trait Implementations
impl RefUnwindSafe for DirectoryItem
impl Send for DirectoryItem
impl Sync for DirectoryItem
impl Unpin for DirectoryItem
impl UnwindSafe for DirectoryItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.