pub enum ReferenceProjectionMode {
None,
Summary,
All,
}Expand description
Whether reference facts are omitted, counted, or materialized.
Variants§
None
Do not traverse reference content.
Summary
Count references without cloning labels or positions.
All
Return a bounded occurrence page as well as counts.
Trait Implementations§
Source§impl Clone for ReferenceProjectionMode
impl Clone for ReferenceProjectionMode
Source§fn clone(&self) -> ReferenceProjectionMode
fn clone(&self) -> ReferenceProjectionMode
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 moreimpl Copy for ReferenceProjectionMode
Source§impl Debug for ReferenceProjectionMode
impl Debug for ReferenceProjectionMode
Source§impl Default for ReferenceProjectionMode
impl Default for ReferenceProjectionMode
Source§fn default() -> ReferenceProjectionMode
fn default() -> ReferenceProjectionMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReferenceProjectionMode
impl<'de> Deserialize<'de> for ReferenceProjectionMode
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 ReferenceProjectionMode
Source§impl JsonSchema for ReferenceProjectionMode
impl JsonSchema for ReferenceProjectionMode
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 ReferenceProjectionMode
impl PartialEq for ReferenceProjectionMode
Source§impl Serialize for ReferenceProjectionMode
impl Serialize for ReferenceProjectionMode
impl StructuralPartialEq for ReferenceProjectionMode
Auto Trait Implementations§
impl Freeze for ReferenceProjectionMode
impl RefUnwindSafe for ReferenceProjectionMode
impl Send for ReferenceProjectionMode
impl Sync for ReferenceProjectionMode
impl Unpin for ReferenceProjectionMode
impl UnsafeUnpin for ReferenceProjectionMode
impl UnwindSafe for ReferenceProjectionMode
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