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