pub struct ResearchContextDocumentV1 {
pub format: String,
pub facts: Vec<FactV1>,
pub relations: Vec<RelationV1>,
pub open_gaps: Vec<String>,
pub pages: Vec<PageV1>,
}Expand description
The knowledge document of one vault.
Fields§
§format: String§facts: Vec<FactV1>§relations: Vec<RelationV1>§open_gaps: Vec<String>§pages: Vec<PageV1>1.9: wiki pages.
Implementations§
Source§impl ResearchContextDocumentV1
impl ResearchContextDocumentV1
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Structural validation, identical in effect on engine and service.
Trait Implementations§
Source§impl Clone for ResearchContextDocumentV1
impl Clone for ResearchContextDocumentV1
Source§impl Debug for ResearchContextDocumentV1
impl Debug for ResearchContextDocumentV1
Source§impl Default for ResearchContextDocumentV1
impl Default for ResearchContextDocumentV1
Source§impl<'de> Deserialize<'de> for ResearchContextDocumentV1
impl<'de> Deserialize<'de> for ResearchContextDocumentV1
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
impl Eq for ResearchContextDocumentV1
impl StructuralPartialEq for ResearchContextDocumentV1
Auto Trait Implementations§
impl Forget for ResearchContextDocumentV1
impl Freeze for ResearchContextDocumentV1
impl Move for ResearchContextDocumentV1
impl RefUnwindSafe for ResearchContextDocumentV1
impl Send for ResearchContextDocumentV1
impl Sync for ResearchContextDocumentV1
impl Unpin for ResearchContextDocumentV1
impl UnsafeUnpin for ResearchContextDocumentV1
impl UnwindSafe for ResearchContextDocumentV1
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