pub struct EvalRunOutputItemSampleInput {
    pub role: String,
    pub content: String,
}Expand description
An input message.
Fields§
§role: StringThe role of the message sender (e.g., system, user, developer).
content: StringThe content of the message.
Implementations§
Trait Implementations§
Source§impl Clone for EvalRunOutputItemSampleInput
 
impl Clone for EvalRunOutputItemSampleInput
Source§fn clone(&self) -> EvalRunOutputItemSampleInput
 
fn clone(&self) -> EvalRunOutputItemSampleInput
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 Debug for EvalRunOutputItemSampleInput
 
impl Debug for EvalRunOutputItemSampleInput
Source§impl<'de> Deserialize<'de> for EvalRunOutputItemSampleInput
 
impl<'de> Deserialize<'de> for EvalRunOutputItemSampleInput
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 EvalRunOutputItemSampleInput
 
impl PartialEq for EvalRunOutputItemSampleInput
Source§fn eq(&self, other: &EvalRunOutputItemSampleInput) -> bool
 
fn eq(&self, other: &EvalRunOutputItemSampleInput) -> bool
Tests for 
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EvalRunOutputItemSampleInput
Auto Trait Implementations§
impl Freeze for EvalRunOutputItemSampleInput
impl RefUnwindSafe for EvalRunOutputItemSampleInput
impl Send for EvalRunOutputItemSampleInput
impl Sync for EvalRunOutputItemSampleInput
impl Unpin for EvalRunOutputItemSampleInput
impl UnwindSafe for EvalRunOutputItemSampleInput
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