pub struct DocumentScope {
pub documents: Vec<DocumentSelector>,
pub traversal: DocumentTraversal,
}Expand description
Initial documents and the link policy used to expand them.
Fields§
§documents: Vec<DocumentSelector>Ordered initial documents. The first one is the initial TUI page.
traversal: DocumentTraversalDeterministic outbound-link traversal policy.
Trait Implementations§
Source§impl Clone for DocumentScope
impl Clone for DocumentScope
Source§fn clone(&self) -> DocumentScope
fn clone(&self) -> DocumentScope
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 DocumentScope
impl Debug for DocumentScope
Source§impl<'de> Deserialize<'de> for DocumentScope
impl<'de> Deserialize<'de> for DocumentScope
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 DocumentScope
Source§impl JsonSchema for DocumentScope
impl JsonSchema for DocumentScope
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for DocumentScope
impl PartialEq for DocumentScope
Source§impl Serialize for DocumentScope
impl Serialize for DocumentScope
impl StructuralPartialEq for DocumentScope
Auto Trait Implementations§
impl Freeze for DocumentScope
impl RefUnwindSafe for DocumentScope
impl Send for DocumentScope
impl Sync for DocumentScope
impl Unpin for DocumentScope
impl UnsafeUnpin for DocumentScope
impl UnwindSafe for DocumentScope
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