Struct dynasty_api::directory_list::DirectoryListItem
source · [−]pub struct DirectoryListItem {
pub name: String,
pub kind: DirectoryKind,
pub permalink: String,
pub cover: Option<String>,
}Expand description
A Dynasty Reader’s directory list item
Fields
name: Stringkind: DirectoryKindpermalink: Stringcover: Option<String>Trait Implementations
sourceimpl Clone for DirectoryListItem
impl Clone for DirectoryListItem
sourcefn clone(&self) -> DirectoryListItem
fn clone(&self) -> DirectoryListItem
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 DirectoryListItem
impl Debug for DirectoryListItem
sourceimpl<'de> Deserialize<'de> for DirectoryListItem
impl<'de> Deserialize<'de> for DirectoryListItem
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 PartialEq<DirectoryListItem> for DirectoryListItem
impl PartialEq<DirectoryListItem> for DirectoryListItem
sourcefn eq(&self, other: &DirectoryListItem) -> bool
fn eq(&self, other: &DirectoryListItem) -> bool
sourceimpl Serialize for DirectoryListItem
impl Serialize for DirectoryListItem
impl Eq for DirectoryListItem
impl StructuralEq for DirectoryListItem
impl StructuralPartialEq for DirectoryListItem
Auto Trait Implementations
impl RefUnwindSafe for DirectoryListItem
impl Send for DirectoryListItem
impl Sync for DirectoryListItem
impl Unpin for DirectoryListItem
impl UnwindSafe for DirectoryListItem
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.