#[non_exhaustive]pub struct QueryReasoningEngineRequest {
pub name: String,
pub input: Option<Struct>,
pub class_method: String,
/* private fields */
}Expand description
Request message for [ReasoningEngineExecutionService.Query][].
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The name of the ReasoningEngine resource to use.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}
input: Option<Struct>Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.
class_method: StringOptional. Class method to be used for the query. It is optional and defaults to “query” if unspecified.
Implementations§
Trait Implementations§
Source§impl Clone for QueryReasoningEngineRequest
impl Clone for QueryReasoningEngineRequest
Source§fn clone(&self) -> QueryReasoningEngineRequest
fn clone(&self) -> QueryReasoningEngineRequest
Returns a copy of the value. Read more
1.0.0 · 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 QueryReasoningEngineRequest
impl Debug for QueryReasoningEngineRequest
Source§impl Default for QueryReasoningEngineRequest
impl Default for QueryReasoningEngineRequest
Source§fn default() -> QueryReasoningEngineRequest
fn default() -> QueryReasoningEngineRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueryReasoningEngineRequestwhere
QueryReasoningEngineRequest: Default,
impl<'de> Deserialize<'de> for QueryReasoningEngineRequestwhere
QueryReasoningEngineRequest: Default,
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
impl StructuralPartialEq for QueryReasoningEngineRequest
Auto Trait Implementations§
impl Freeze for QueryReasoningEngineRequest
impl RefUnwindSafe for QueryReasoningEngineRequest
impl Send for QueryReasoningEngineRequest
impl Sync for QueryReasoningEngineRequest
impl Unpin for QueryReasoningEngineRequest
impl UnwindSafe for QueryReasoningEngineRequest
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