Struct dynasty_api::directory_list::DirectoryListConfig
source · [−]pub struct DirectoryListConfig {
pub name: String,
pub kind: DirectoryKind,
pub view_kind: Option<DirectoryListViewKind>,
pub page_number: u64,
}Expand description
A configuration to get a DirectoryList
Fields
name: Stringkind: DirectoryKindview_kind: Option<DirectoryListViewKind>page_number: u64Implementations
sourceimpl DirectoryListConfig
impl DirectoryListConfig
sourcepub fn with_view_kind(
self,
view_kind: Option<DirectoryListViewKind>
) -> DirectoryListConfig
pub fn with_view_kind(
self,
view_kind: Option<DirectoryListViewKind>
) -> DirectoryListConfig
Replaces this DirectoryListConfig view_kind
Trait Implementations
sourceimpl Clone for DirectoryListConfig
impl Clone for DirectoryListConfig
sourcefn clone(&self) -> DirectoryListConfig
fn clone(&self) -> DirectoryListConfig
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 DirectoryListConfig
impl Debug for DirectoryListConfig
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 From<TagItem> for DirectoryListConfig
impl From<TagItem> for DirectoryListConfig
sourceimpl PartialEq<DirectoryListConfig> for DirectoryListConfig
impl PartialEq<DirectoryListConfig> for DirectoryListConfig
sourcefn eq(&self, other: &DirectoryListConfig) -> bool
fn eq(&self, other: &DirectoryListConfig) -> bool
impl Eq for DirectoryListConfig
impl StructuralEq for DirectoryListConfig
impl StructuralPartialEq for DirectoryListConfig
Auto Trait Implementations
impl RefUnwindSafe for DirectoryListConfig
impl Send for DirectoryListConfig
impl Sync for DirectoryListConfig
impl Unpin for DirectoryListConfig
impl UnwindSafe for DirectoryListConfig
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.