pub struct PromptParams {
pub user_input: UserInput,
}Expand description
Prompt request parameters.
Fields§
§user_input: UserInputUser input for the prompt.
Trait Implementations§
Source§impl Clone for PromptParams
impl Clone for PromptParams
Source§fn clone(&self) -> PromptParams
fn clone(&self) -> PromptParams
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 PromptParams
impl Debug for PromptParams
Source§impl<'de> Deserialize<'de> for PromptParams
impl<'de> Deserialize<'de> for PromptParams
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 PromptParams
impl PartialEq for PromptParams
Source§fn eq(&self, other: &PromptParams) -> bool
fn eq(&self, other: &PromptParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PromptParams
impl Serialize for PromptParams
impl StructuralPartialEq for PromptParams
Auto Trait Implementations§
impl Freeze for PromptParams
impl RefUnwindSafe for PromptParams
impl Send for PromptParams
impl Sync for PromptParams
impl Unpin for PromptParams
impl UnsafeUnpin for PromptParams
impl UnwindSafe for PromptParams
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