pub enum MessageDeltaObjectDeltaRole {
User,
Assistant,
}
Expand description
The entity that produced the message. One of user
or assistant
.
Variants§
Trait Implementations§
Source§impl Clone for MessageDeltaObjectDeltaRole
impl Clone for MessageDeltaObjectDeltaRole
Source§fn clone(&self) -> MessageDeltaObjectDeltaRole
fn clone(&self) -> MessageDeltaObjectDeltaRole
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 MessageDeltaObjectDeltaRole
impl Debug for MessageDeltaObjectDeltaRole
Source§impl<'de> Deserialize<'de> for MessageDeltaObjectDeltaRole
impl<'de> Deserialize<'de> for MessageDeltaObjectDeltaRole
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 Copy for MessageDeltaObjectDeltaRole
impl StructuralPartialEq for MessageDeltaObjectDeltaRole
Auto Trait Implementations§
impl Freeze for MessageDeltaObjectDeltaRole
impl RefUnwindSafe for MessageDeltaObjectDeltaRole
impl Send for MessageDeltaObjectDeltaRole
impl Sync for MessageDeltaObjectDeltaRole
impl Unpin for MessageDeltaObjectDeltaRole
impl UnwindSafe for MessageDeltaObjectDeltaRole
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