pub struct PythonInvocationRequest {
pub invocation_id: String,
pub request_id: String,
pub provider: String,
pub action: String,
pub arguments: Value,
pub surface: ProviderSurface,
pub snapshot_id: String,
pub deadline_unix_ms: u64,
pub trace: Option<PythonTraceContext>,
pub actor: Option<PythonActorContext>,
pub cancellation_token_id: String,
pub generation_id: String,
}Expand description
Complete at-most-once invocation envelope.
Fields§
§invocation_id: String§request_id: StringSurface request identity; unlike the numeric frame id this remains stable across runtime boundaries.
provider: String§action: String§arguments: Value§surface: ProviderSurface§snapshot_id: String§deadline_unix_ms: u64§trace: Option<PythonTraceContext>§actor: Option<PythonActorContext>§cancellation_token_id: String§generation_id: StringTrait Implementations§
Source§impl Clone for PythonInvocationRequest
impl Clone for PythonInvocationRequest
Source§fn clone(&self) -> PythonInvocationRequest
fn clone(&self) -> PythonInvocationRequest
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 PythonInvocationRequest
impl Debug for PythonInvocationRequest
Source§impl<'de> Deserialize<'de> for PythonInvocationRequest
impl<'de> Deserialize<'de> for PythonInvocationRequest
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
Source§impl PartialEq for PythonInvocationRequest
impl PartialEq for PythonInvocationRequest
Source§fn eq(&self, other: &PythonInvocationRequest) -> bool
fn eq(&self, other: &PythonInvocationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PythonInvocationRequest
impl Serialize for PythonInvocationRequest
impl StructuralPartialEq for PythonInvocationRequest
Auto Trait Implementations§
impl Freeze for PythonInvocationRequest
impl RefUnwindSafe for PythonInvocationRequest
impl Send for PythonInvocationRequest
impl Sync for PythonInvocationRequest
impl Unpin for PythonInvocationRequest
impl UnsafeUnpin for PythonInvocationRequest
impl UnwindSafe for PythonInvocationRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more