pub struct PromptAsyncParams {
pub agent: Option<String>,
pub format: Option<OutputFormat>,
pub message_id: Option<String>,
pub model: Option<SubtaskPartInputModel>,
pub no_reply: Option<bool>,
pub parts: Vec<PromptAsyncParamsPartsItem>,
pub system: Option<String>,
pub tools: Option<BTreeMap<String, bool>>,
pub variant: Option<String>,
}Fields§
§agent: Option<String>§format: Option<OutputFormat>§message_id: Option<String>§model: Option<SubtaskPartInputModel>§no_reply: Option<bool>§parts: Vec<PromptAsyncParamsPartsItem>§system: Option<String>§tools: Option<BTreeMap<String, bool>>§variant: Option<String>Trait Implementations§
Source§impl Clone for PromptAsyncParams
impl Clone for PromptAsyncParams
Source§fn clone(&self) -> PromptAsyncParams
fn clone(&self) -> PromptAsyncParams
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 PromptAsyncParams
impl Debug for PromptAsyncParams
Source§impl Default for PromptAsyncParams
impl Default for PromptAsyncParams
Source§fn default() -> PromptAsyncParams
fn default() -> PromptAsyncParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PromptAsyncParams
impl<'de> Deserialize<'de> for PromptAsyncParams
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 PromptAsyncParams
impl PartialEq for PromptAsyncParams
Source§impl Serialize for PromptAsyncParams
impl Serialize for PromptAsyncParams
impl StructuralPartialEq for PromptAsyncParams
Auto Trait Implementations§
impl Freeze for PromptAsyncParams
impl RefUnwindSafe for PromptAsyncParams
impl Send for PromptAsyncParams
impl Sync for PromptAsyncParams
impl Unpin for PromptAsyncParams
impl UnsafeUnpin for PromptAsyncParams
impl UnwindSafe for PromptAsyncParams
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