pub struct ReferenceProjection {
pub mode: ReferenceProjectionMode,
pub target_types: Vec<ReferenceTargetType>,
pub offset: u32,
pub limit: u32,
}Expand description
Independent reference selection policy; entry filtering never changes it.
Fields§
§mode: ReferenceProjectionModeProjection mode.
target_types: Vec<ReferenceTargetType>Original typed target kinds, defaulting to document/manual.
offset: u32Zero-based selected occurrence offset, not distinct-target offset.
limit: u32Maximum materialized occurrences, between 1 and 1,000.
Implementations§
Trait Implementations§
Source§impl Clone for ReferenceProjection
impl Clone for ReferenceProjection
Source§fn clone(&self) -> ReferenceProjection
fn clone(&self) -> ReferenceProjection
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 ReferenceProjection
impl Debug for ReferenceProjection
Source§impl Default for ReferenceProjection
impl Default for ReferenceProjection
Source§impl<'de> Deserialize<'de> for ReferenceProjection
impl<'de> Deserialize<'de> for ReferenceProjection
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 ReferenceProjection
Source§impl JsonSchema for ReferenceProjection
impl JsonSchema for ReferenceProjection
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 ReferenceProjection
impl PartialEq for ReferenceProjection
Source§impl Serialize for ReferenceProjection
impl Serialize for ReferenceProjection
impl StructuralPartialEq for ReferenceProjection
Auto Trait Implementations§
impl Freeze for ReferenceProjection
impl RefUnwindSafe for ReferenceProjection
impl Send for ReferenceProjection
impl Sync for ReferenceProjection
impl Unpin for ReferenceProjection
impl UnsafeUnpin for ReferenceProjection
impl UnwindSafe for ReferenceProjection
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