pub struct CollectionInfo {
pub name: String,
pub space: String,
pub path: PathBuf,
pub description: Option<String>,
pub extensions: Option<Vec<String>>,
pub document_count: usize,
pub active_document_count: usize,
pub chunk_count: usize,
pub embedded_chunk_count: usize,
pub created: String,
pub updated: String,
}Fields§
§name: String§space: String§path: PathBuf§description: Option<String>§extensions: Option<Vec<String>>§document_count: usize§active_document_count: usize§chunk_count: usize§embedded_chunk_count: usize§created: String§updated: StringTrait Implementations§
Source§impl Clone for CollectionInfo
impl Clone for CollectionInfo
Source§fn clone(&self) -> CollectionInfo
fn clone(&self) -> CollectionInfo
Returns a duplicate 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 CollectionInfo
impl Debug for CollectionInfo
Source§impl<'de> Deserialize<'de> for CollectionInfo
impl<'de> Deserialize<'de> for CollectionInfo
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 CollectionInfo
impl PartialEq for CollectionInfo
Source§impl Serialize for CollectionInfo
impl Serialize for CollectionInfo
impl StructuralPartialEq for CollectionInfo
Auto Trait Implementations§
impl Freeze for CollectionInfo
impl RefUnwindSafe for CollectionInfo
impl Send for CollectionInfo
impl Sync for CollectionInfo
impl Unpin for CollectionInfo
impl UnsafeUnpin for CollectionInfo
impl UnwindSafe for CollectionInfo
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