#[non_exhaustive]pub struct KnowledgeGetOutput {Show 13 fields
pub found: bool,
pub source_uri: String,
pub title: Option<String>,
pub content: Option<String>,
pub tags: Option<Vec<String>>,
pub metadata: Option<HashMap<String, Value>>,
pub ingested_at: Option<String>,
pub superseded: Option<bool>,
pub doc_id: Option<String>,
pub revision: Option<Integer>,
pub format: Option<String>,
pub parser: Option<String>,
pub coverage: Option<HashMap<String, Value>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.found: bool§source_uri: String§title: Option<String>§content: Option<String>§metadata: Option<HashMap<String, Value>>§ingested_at: Option<String>§superseded: Option<bool>§doc_id: Option<String>§revision: Option<Integer>§format: Option<String>§parser: Option<String>§coverage: Option<HashMap<String, Value>>Trait Implementations§
Source§impl Clone for KnowledgeGetOutput
impl Clone for KnowledgeGetOutput
Source§impl Debug for KnowledgeGetOutput
impl Debug for KnowledgeGetOutput
Source§impl<'de> Deserialize<'de> for KnowledgeGetOutput
impl<'de> Deserialize<'de> for KnowledgeGetOutput
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 KnowledgeGetOutput
impl PartialEq for KnowledgeGetOutput
Source§impl Serialize for KnowledgeGetOutput
impl Serialize for KnowledgeGetOutput
impl StructuralPartialEq for KnowledgeGetOutput
Auto Trait Implementations§
impl Forget for KnowledgeGetOutput
impl Freeze for KnowledgeGetOutput
impl Move for KnowledgeGetOutput
impl RefUnwindSafe for KnowledgeGetOutput
impl Send for KnowledgeGetOutput
impl Sync for KnowledgeGetOutput
impl Unpin for KnowledgeGetOutput
impl UnsafeUnpin for KnowledgeGetOutput
impl UnwindSafe for KnowledgeGetOutput
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