pub struct QueryTask {Show 16 fields
pub query_task_id: String,
pub observability_context: Option<Value>,
pub dispatch_observability_context: Option<Value>,
pub observability_links: Option<Value>,
pub query_task_attempt: u64,
pub lease_owner: Option<String>,
pub workflow_id: Option<String>,
pub run_id: Option<String>,
pub workflow_type: String,
pub query_name: String,
pub payload_codec: String,
pub workflow_arguments: Option<Value>,
pub query_arguments: Option<Value>,
pub history_events: Vec<HistoryEvent>,
pub history_export: Option<Value>,
pub run_status: Option<String>,
}Expand description
An ephemeral server-routed query task.
Fields§
§query_task_id: String§observability_context: Option<Value>Optional, untrusted observability metadata. Receiving it does not authorize execution.
dispatch_observability_context: Option<Value>§observability_links: Option<Value>§query_task_attempt: u64§lease_owner: Option<String>§workflow_id: Option<String>§run_id: Option<String>§workflow_type: String§query_name: String§payload_codec: String§workflow_arguments: Option<Value>§query_arguments: Option<Value>§history_events: Vec<HistoryEvent>§history_export: Option<Value>§run_status: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for QueryTask
impl<'de> Deserialize<'de> for QueryTask
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
Auto Trait Implementations§
impl Forget for QueryTask
impl Freeze for QueryTaskwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<HistoryEvent>: Freeze,
impl Move for QueryTask
impl RefUnwindSafe for QueryTask
impl Send for QueryTask
impl Sync for QueryTask
impl Unpin for QueryTask
impl UnsafeUnpin for QueryTaskwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<HistoryEvent>: UnsafeUnpin,
impl UnwindSafe for QueryTaskwhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
HashMap<String, Value>: 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
Mutably borrows from an owned value. Read more