Skip to main content

ExecuteRequest

Struct ExecuteRequest 

Source
pub struct ExecuteRequest<'a> {
    pub operation: &'a str,
    pub scope: Option<&'a str>,
    pub idempotency_key: Option<&'a str>,
    pub dry_run: bool,
    pub intent: Option<&'a str>,
    pub input: JsonValue,
    pub binding_context: Option<JsonValue>,
    pub now_ms: Option<i64>,
    pub lease_ms: Option<i64>,
    pub ttl_ms: Option<i64>,
    pub spent_key_retention_ms: Option<i64>,
    pub authorize: Option<&'a AuthorizeHook<'a>>,
}

Fields§

§operation: &'a str§scope: Option<&'a str>§idempotency_key: Option<&'a str>§dry_run: bool§intent: Option<&'a str>§input: JsonValue§binding_context: Option<JsonValue>§now_ms: Option<i64>§lease_ms: Option<i64>§ttl_ms: Option<i64>§spent_key_retention_ms: Option<i64>§authorize: Option<&'a AuthorizeHook<'a>>

Implementations§

Source§

impl<'a> ExecuteRequest<'a>

Source

pub fn new(operation: &'a str, input: JsonValue) -> Self

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for ExecuteRequest<'a>

§

impl<'a> !Send for ExecuteRequest<'a>

§

impl<'a> !Sync for ExecuteRequest<'a>

§

impl<'a> !UnwindSafe for ExecuteRequest<'a>

§

impl<'a> Forget for ExecuteRequest<'a>

§

impl<'a> Freeze for ExecuteRequest<'a>
where &'a str: Freeze, *const u8 is !null: Freeze, PhantomData<u8>: Freeze, PhantomData<JsonValue>: Freeze, *const LeafNode<String, JsonValue> is !null: Freeze, PhantomData<(Owned, LeafOrInternal)>: Freeze, PhantomData<Box<(String, JsonValue)>>: Freeze, &'a dyn Fn(&JsonValue, &WriteContext<'_>) -> bool: Freeze,

§

impl<'a> Move for ExecuteRequest<'a>

§

impl<'a> Unpin for ExecuteRequest<'a>
where &'a str: Unpin, *const u8 is !null: Unpin, *const LeafNode<String, JsonValue> is !null: Unpin, Box<(String, JsonValue)>: Unpin, &'a dyn Fn(&JsonValue, &WriteContext<'_>) -> bool: Unpin,

§

impl<'a> UnsafeUnpin for ExecuteRequest<'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.