pub struct ModuleCollection {
pub count: String,
pub id: i64,
pub name: String,
pub title: String,
}Expand description
文集模块
Fields§
§count: String文章数
id: i64文集 id
name: String文集名
title: String标题,如 “收录于文集”
Trait Implementations§
Source§impl Clone for ModuleCollection
impl Clone for ModuleCollection
Source§fn clone(&self) -> ModuleCollection
fn clone(&self) -> ModuleCollection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModuleCollection
impl Debug for ModuleCollection
Source§impl Default for ModuleCollection
impl Default for ModuleCollection
Source§fn default() -> ModuleCollection
fn default() -> ModuleCollection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModuleCollection
impl<'de> Deserialize<'de> for ModuleCollection
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 PartialEq for ModuleCollection
impl PartialEq for ModuleCollection
Source§fn eq(&self, other: &ModuleCollection) -> bool
fn eq(&self, other: &ModuleCollection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModuleCollection
impl Serialize for ModuleCollection
impl StructuralPartialEq for ModuleCollection
Auto Trait Implementations§
impl Freeze for ModuleCollection
impl RefUnwindSafe for ModuleCollection
impl Send for ModuleCollection
impl Sync for ModuleCollection
impl Unpin for ModuleCollection
impl UnsafeUnpin for ModuleCollection
impl UnwindSafe for ModuleCollection
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