pub struct ProjectionQuery {
pub scope: ScopeKey,
pub text_query: Option<String>,
pub valid_at: Option<String>,
pub recorded_at_or_before: Option<String>,
pub subject_entity_id: Option<EntityId>,
pub canonical_entity_id: Option<EntityId>,
pub claim_state: Option<String>,
pub claim_id: Option<ClaimId>,
pub claim_version_id: Option<ClaimVersionId>,
pub limit: usize,
}Expand description
Common filter surface for imported projection queries.
Fields§
§scope: ScopeKeyFull scope to enforce.
text_query: Option<String>Optional free-text query applied to the projection’s searchable fields.
valid_at: Option<String>Valid-time as-of filter for versioned projection rows.
recorded_at_or_before: Option<String>Transaction-time cutoff for imported rows.
subject_entity_id: Option<EntityId>Optional subject-entity filter for claim/relation queries.
canonical_entity_id: Option<EntityId>Optional canonical-entity filter for alias queries.
claim_state: Option<String>Optional claim-state filter for claim-version queries.
claim_id: Option<ClaimId>Optional claim filter for claim/evidence queries.
claim_version_id: Option<ClaimVersionId>Optional claim-version filter for evidence queries.
limit: usizeFinal result limit.
Implementations§
Trait Implementations§
Source§impl Clone for ProjectionQuery
impl Clone for ProjectionQuery
Source§fn clone(&self) -> ProjectionQuery
fn clone(&self) -> ProjectionQuery
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 ProjectionQuery
impl Debug for ProjectionQuery
Source§impl<'de> Deserialize<'de> for ProjectionQuery
impl<'de> Deserialize<'de> for ProjectionQuery
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
Auto Trait Implementations§
impl Freeze for ProjectionQuery
impl RefUnwindSafe for ProjectionQuery
impl Send for ProjectionQuery
impl Sync for ProjectionQuery
impl Unpin for ProjectionQuery
impl UnsafeUnpin for ProjectionQuery
impl UnwindSafe for ProjectionQuery
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