pub struct CollectionDescription {
pub name: String,
pub size: usize,
pub status: String,
}
Expand description
Description / Information about a collection.
Fields§
§name: String
Collection name.
size: usize
Collection size.
status: String
Status of the collection.
Trait Implementations§
Source§impl Clone for CollectionDescription
impl Clone for CollectionDescription
Source§fn clone(&self) -> CollectionDescription
fn clone(&self) -> CollectionDescription
Returns a copy of the value. Read more
1.0.0 · 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 CollectionDescription
impl Debug for CollectionDescription
Source§impl Default for CollectionDescription
impl Default for CollectionDescription
Source§fn default() -> CollectionDescription
fn default() -> CollectionDescription
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CollectionDescription
impl<'de> Deserialize<'de> for CollectionDescription
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 CollectionDescription
impl RefUnwindSafe for CollectionDescription
impl Send for CollectionDescription
impl Sync for CollectionDescription
impl Unpin for CollectionDescription
impl UnwindSafe for CollectionDescription
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