pub struct SystemMessageContent {
pub text: String,
pub type: String,
}Available on crate feature
realtime only.Fields§
§text: StringThe text content.
type: StringThe content type. Always input_text for system messages.
Trait Implementations§
Source§impl Clone for SystemMessageContent
impl Clone for SystemMessageContent
Source§fn clone(&self) -> SystemMessageContent
fn clone(&self) -> SystemMessageContent
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 SystemMessageContent
impl Debug for SystemMessageContent
Source§impl<'de> Deserialize<'de> for SystemMessageContent
impl<'de> Deserialize<'de> for SystemMessageContent
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
Auto Trait Implementations§
impl Freeze for SystemMessageContent
impl RefUnwindSafe for SystemMessageContent
impl Send for SystemMessageContent
impl Sync for SystemMessageContent
impl Unpin for SystemMessageContent
impl UnwindSafe for SystemMessageContent
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