Skip to main content

WriteRequest

Struct WriteRequest 

Source
pub struct WriteRequest<'a, S> {
    pub scratch: &'a mut S,
    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 write the facade has already planned. scratch is the engine’s private transaction state.

Fields§

§scratch: &'a mut S§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, S> !UnwindSafe for WriteRequest<'a, S>

§

impl<'a, S> Forget for WriteRequest<'a, S>

§

impl<'a, S> Freeze for WriteRequest<'a, S>

§

impl<'a, S> Move for WriteRequest<'a, S>

§

impl<'a, S> RefUnwindSafe for WriteRequest<'a, S>

§

impl<'a, S> Send for WriteRequest<'a, S>
where S: Send, &'a LogicalPlan: Send, &'a BTreeMap<String, Value>: Send, &'a str: Send, &'a CancelToken: Send,

§

impl<'a, S> Sync for WriteRequest<'a, S>
where S: Sync, RawVecInner: 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, S> Unpin for WriteRequest<'a, S>

§

impl<'a, S> UnsafeUnpin for WriteRequest<'a, S>

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.