pub struct EasyInputMessage {
pub role: String,
pub content: EasyInputMessage_Content,
pub type: Option<String>,
}
Expand description
A message input to the model with a role indicating instruction following hierarchy.
Fields§
§role: String
The role of the message input.
content: EasyInputMessage_Content
§type: Option<String>
The type of the message input.
Trait Implementations§
Source§impl Clone for EasyInputMessage
impl Clone for EasyInputMessage
Source§fn clone(&self) -> EasyInputMessage
fn clone(&self) -> EasyInputMessage
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 moreAuto Trait Implementations§
impl Freeze for EasyInputMessage
impl RefUnwindSafe for EasyInputMessage
impl Send for EasyInputMessage
impl Sync for EasyInputMessage
impl Unpin for EasyInputMessage
impl UnwindSafe for EasyInputMessage
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