pub struct KnowledgePackSummary {
pub selector: String,
pub pack: String,
pub pack_id: String,
pub version: String,
pub root_uri: String,
pub document_count: usize,
}Fields§
§selector: StringCanonical pack selector to pass as the pack argument to knowledge tools.
pack: StringBackwards-compatible alias for selector.
pack_id: String§version: String§root_uri: String§document_count: usizeImplementations§
Source§impl KnowledgePackSummary
impl KnowledgePackSummary
pub fn new( pack: impl Into<String>, manifest: &dyn KnowledgePackManifest, ) -> Self
Trait Implementations§
Source§impl Clone for KnowledgePackSummary
impl Clone for KnowledgePackSummary
Source§fn clone(&self) -> KnowledgePackSummary
fn clone(&self) -> KnowledgePackSummary
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 KnowledgePackSummary
impl Debug for KnowledgePackSummary
Auto Trait Implementations§
impl Freeze for KnowledgePackSummary
impl RefUnwindSafe for KnowledgePackSummary
impl Send for KnowledgePackSummary
impl Sync for KnowledgePackSummary
impl Unpin for KnowledgePackSummary
impl UnsafeUnpin for KnowledgePackSummary
impl UnwindSafe for KnowledgePackSummary
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