pub struct InvokeRpcRequest {
pub flow_id: String,
pub run_id: String,
pub rpc_name: String,
pub input: Option<Value>,
pub timeout_seconds: i32,
pub lock_attribute_keys: Vec<String>,
pub request_id: String,
pub is_transactional: bool,
pub load_attribute_map_instances: Vec<String>,
pub load_channel_names: Vec<String>,
pub load_channel_map_instances: Vec<String>,
pub lock_wait_millis: Option<u32>,
}Fields§
§flow_id: String§run_id: StringTargets this run when set.
rpc_name: String§input: Option<Value>§timeout_seconds: i32§lock_attribute_keys: Vec<String>Acquire exclusive lock on these attribute keys for the RPC’s read-modify-write. Empty means no locking and uses the configured RPC path.
request_id: StringPer-call UUID, SDK-generated and future-overridable; identical retries reuse it. Dex deduplicates it for the whole run. Dex compares only the ID, not the input or options: a repeat never applies the second request.
is_transactional: boolRequests transactional reads and writes. Attribute locking enables it automatically. Channel deletion alone does not; callers must opt in.
load_attribute_map_instances: Vec<String>AttributeMap instances whose entries are loaded for the RPC handler. A trailing slash loads every instance. The suffix names one instance.
load_channel_names: Vec<String>Channel definitions whose pending messages are loaded for the RPC handler.
load_channel_map_instances: Vec<String>ChannelMap instances whose pending messages are loaded for the RPC handler. A trailing slash loads every instance. The suffix names one instance.
lock_wait_millis: Option<u32>Maximum lock wait in milliseconds. Absent uses half the handler timeout; zero fails immediately on contention.
Implementations§
Source§impl InvokeRpcRequest
impl InvokeRpcRequest
Sourcepub fn lock_wait_millis(&self) -> u32
pub fn lock_wait_millis(&self) -> u32
Returns the value of lock_wait_millis, or the default value if lock_wait_millis is unset.
Trait Implementations§
Source§impl Clone for InvokeRpcRequest
impl Clone for InvokeRpcRequest
Source§impl Debug for InvokeRpcRequest
impl Debug for InvokeRpcRequest
Source§impl Default for InvokeRpcRequest
impl Default for InvokeRpcRequest
Source§impl Message for InvokeRpcRequest
impl Message for InvokeRpcRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for InvokeRpcRequest
impl PartialEq for InvokeRpcRequest
impl StructuralPartialEq for InvokeRpcRequest
Auto Trait Implementations§
impl Forget for InvokeRpcRequest
impl Freeze for InvokeRpcRequest
impl Move for InvokeRpcRequest
impl RefUnwindSafe for InvokeRpcRequest
impl Send for InvokeRpcRequestwhere
RawVecInner: Send,
impl Sync for InvokeRpcRequestwhere
RawVecInner: Sync,
impl Unpin for InvokeRpcRequest
impl UnsafeUnpin for InvokeRpcRequestwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for InvokeRpcRequestwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request