pub struct PageV1 {
pub id: String,
pub title: String,
pub items: Vec<PageItemV1>,
}Expand description
1.9: a readable wiki page built from facts (the “tree” of the ctxpkg mapping). Pages are part of the reviewed document.
Fields§
§id: String§title: String§items: Vec<PageItemV1>Implementations§
Source§impl PageV1
impl PageV1
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Checks of one page on its own; fact references are checked against
the document by ResearchContextDocumentV1::validate.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PageV1
impl<'de> Deserialize<'de> for PageV1
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 PageV1
impl StructuralPartialEq for PageV1
Auto Trait Implementations§
impl Freeze for PageV1
impl RefUnwindSafe for PageV1
impl Send for PageV1
impl Sync for PageV1
impl Unpin for PageV1
impl UnsafeUnpin for PageV1
impl UnwindSafe for PageV1
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