pub struct DirectoryItem {
pub id: String,
pub name: String,
pub item_type: String,
}Expand description
目录项
Fields§
§id: String项 ID
name: String项名称
item_type: String项类型
Trait Implementations§
Source§impl Clone for DirectoryItem
impl Clone for DirectoryItem
Source§fn clone(&self) -> DirectoryItem
fn clone(&self) -> DirectoryItem
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 DirectoryItem
impl Debug for DirectoryItem
Source§impl<'de> Deserialize<'de> for DirectoryItem
impl<'de> Deserialize<'de> for DirectoryItem
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
Auto Trait Implementations§
impl Freeze for DirectoryItem
impl RefUnwindSafe for DirectoryItem
impl Send for DirectoryItem
impl Sync for DirectoryItem
impl Unpin for DirectoryItem
impl UnsafeUnpin for DirectoryItem
impl UnwindSafe for DirectoryItem
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