pub struct ChatClassificationRequestInputs {
pub messages: Vec<MessagesInner>,
}Expand description
ChatClassificationRequestInputs : Chat to classify
Fields§
§messages: Vec<MessagesInner>Implementations§
Source§impl ChatClassificationRequestInputs
impl ChatClassificationRequestInputs
Sourcepub fn new(messages: Vec<MessagesInner>) -> ChatClassificationRequestInputs
pub fn new(messages: Vec<MessagesInner>) -> ChatClassificationRequestInputs
Chat to classify
Trait Implementations§
Source§impl Clone for ChatClassificationRequestInputs
impl Clone for ChatClassificationRequestInputs
Source§fn clone(&self) -> ChatClassificationRequestInputs
fn clone(&self) -> ChatClassificationRequestInputs
Returns a duplicate 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 Default for ChatClassificationRequestInputs
impl Default for ChatClassificationRequestInputs
Source§fn default() -> ChatClassificationRequestInputs
fn default() -> ChatClassificationRequestInputs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatClassificationRequestInputs
impl<'de> Deserialize<'de> for ChatClassificationRequestInputs
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 ChatClassificationRequestInputs
impl PartialEq for ChatClassificationRequestInputs
Source§fn eq(&self, other: &ChatClassificationRequestInputs) -> bool
fn eq(&self, other: &ChatClassificationRequestInputs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChatClassificationRequestInputs
Auto Trait Implementations§
impl Freeze for ChatClassificationRequestInputs
impl RefUnwindSafe for ChatClassificationRequestInputs
impl Send for ChatClassificationRequestInputs
impl Sync for ChatClassificationRequestInputs
impl Unpin for ChatClassificationRequestInputs
impl UnsafeUnpin for ChatClassificationRequestInputs
impl UnwindSafe for ChatClassificationRequestInputs
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