pub struct CollectionInfo {
pub name: String,
pub pwd: String,
pub glob_pattern: String,
pub active_count: usize,
pub last_modified: Option<String>,
}Expand description
Collection info from database.
Fields§
§name: StringCollection name.
pwd: StringWorking directory path.
glob_pattern: StringGlob pattern.
active_count: usizeNumber of active documents.
last_modified: Option<String>Last modification timestamp.
Trait 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 moreAuto Trait Implementations§
impl Freeze for CollectionInfo
impl RefUnwindSafe for CollectionInfo
impl Send for CollectionInfo
impl Sync for CollectionInfo
impl Unpin 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