Skip to main content

ReadRequest

Struct ReadRequest 

Source
pub struct ReadRequest<'a> {
    pub snapshot_ts: u64,
    pub schema: &'a SchemaSnapshot,
    pub plan: &'a LogicalPlan,
    pub params: &'a BTreeMap<String, Value>,
    pub query_text: &'a str,
    pub principal: Option<&'a str>,
    pub cancel: Option<&'a CancelToken>,
    pub ontology_document: Option<&'a str>,
}
Expand description

A read the facade has already planned and admitted.

Fields§

§snapshot_ts: u64§schema: &'a SchemaSnapshot§plan: &'a LogicalPlan§params: &'a BTreeMap<String, Value>§query_text: &'a str§principal: Option<&'a str>§cancel: Option<&'a CancelToken>§ontology_document: Option<&'a str>

Auto Trait Implementations§

§

impl<'a> Forget for ReadRequest<'a>

§

impl<'a> Freeze for ReadRequest<'a>

§

impl<'a> Move for ReadRequest<'a>

§

impl<'a> RefUnwindSafe for ReadRequest<'a>

§

impl<'a> Send for ReadRequest<'a>

§

impl<'a> Sync for ReadRequest<'a>
where RawVecInner: Sync, NodeRef<Owned, Namespace, DatabaseEntry, LeafOrInternal>: Sync, BoxRaw<(Namespace, DatabaseEntry)>: Sync, NodeRef<Owned, String, IndexDetailSpec, LeafOrInternal>: Sync, BoxRaw<(String, IndexDetailSpec)>: Sync, NodeRef<Owned, String, BTreeMap<String, Value>, LeafOrInternal>: Sync, BoxRaw<(String, BTreeMap<String, Value>)>: Sync, NodeRef<Owned, String, GraphTypeSpec, LeafOrInternal>: Sync, BoxRaw<(String, GraphTypeSpec)>: Sync, BoxRaw<ValueTypeModel>: Sync, NodeRef<Owned, String, Constraint, LeafOrInternal>: Sync, BoxRaw<(String, Constraint)>: Sync, BoxRaw<Clause>: Sync, Arc<str>: Sync, BoxRaw<Expr>: Sync, BoxRaw<LabelExpr>: Sync, Arc<Vec<Value>>: Sync, Arc<BTreeMap<String, Value>>: Sync, Arc<Node>: Sync, Arc<Relationship>: Sync, Arc<Path>: Sync, NonZero<i32>: Sync, BoxRaw<CivilZonedFields>: Sync, Arc<[f32]>: Sync, Arc<[f64]>: Sync, Arc<[i64]>: Sync, Arc<[u8]>: Sync, BoxRaw<TypeExpr>: Sync, BoxRaw<Query>: Sync, BoxRaw<SearchClause>: Sync, BoxRaw<LogicalPlan>: Sync, NodeRef<Owned, (usize, usize), MatchStrategy, LeafOrInternal>: Sync, BoxRaw<((usize, usize), MatchStrategy)>: Sync, NodeRef<Owned, String, Value, LeafOrInternal>: Sync, BoxRaw<(String, Value)>: Sync, Arc<Atomic<bool>>: Sync,

§

impl<'a> Unpin for ReadRequest<'a>

§

impl<'a> UnsafeUnpin for ReadRequest<'a>

§

impl<'a> UnwindSafe for ReadRequest<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.