pub enum GatewayMessageRole {
System,
User,
Assistant,
}Variants§
Trait Implementations§
Source§impl Clone for GatewayMessageRole
impl Clone for GatewayMessageRole
Source§fn clone(&self) -> GatewayMessageRole
fn clone(&self) -> GatewayMessageRole
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 GatewayMessageRole
impl Debug for GatewayMessageRole
Source§impl PartialEq for GatewayMessageRole
impl PartialEq for GatewayMessageRole
impl Copy for GatewayMessageRole
impl Eq for GatewayMessageRole
impl StructuralPartialEq for GatewayMessageRole
Auto Trait Implementations§
impl Freeze for GatewayMessageRole
impl RefUnwindSafe for GatewayMessageRole
impl Send for GatewayMessageRole
impl Sync for GatewayMessageRole
impl Unpin for GatewayMessageRole
impl UnsafeUnpin for GatewayMessageRole
impl UnwindSafe for GatewayMessageRole
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