pub struct ChatSystemMessageParam {
pub role: ChatSystemRole,
pub content: ChatTextContent,
pub name: Option<String>,
pub rest: Rest,
}Fields§
§role: ChatSystemRole§content: ChatTextContent§name: Option<String>§rest: RestTrait Implementations§
Source§impl Clone for ChatSystemMessageParam
impl Clone for ChatSystemMessageParam
Source§fn clone(&self) -> ChatSystemMessageParam
fn clone(&self) -> ChatSystemMessageParam
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 ChatSystemMessageParam
impl Debug for ChatSystemMessageParam
Source§impl<'de> Deserialize<'de> for ChatSystemMessageParam
impl<'de> Deserialize<'de> for ChatSystemMessageParam
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 ChatSystemMessageParam
impl PartialEq for ChatSystemMessageParam
Source§impl Serialize for ChatSystemMessageParam
impl Serialize for ChatSystemMessageParam
impl StructuralPartialEq for ChatSystemMessageParam
Auto Trait Implementations§
impl Freeze for ChatSystemMessageParam
impl RefUnwindSafe for ChatSystemMessageParam
impl Send for ChatSystemMessageParam
impl Sync for ChatSystemMessageParam
impl Unpin for ChatSystemMessageParam
impl UnsafeUnpin for ChatSystemMessageParam
impl UnwindSafe for ChatSystemMessageParam
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