pub enum InputMessageRole {
User,
System,
Developer,
}
Expand description
The role of the message input. One of user
, system
, or developer
.
Variants§
Trait Implementations§
Source§impl Clone for InputMessageRole
impl Clone for InputMessageRole
Source§fn clone(&self) -> InputMessageRole
fn clone(&self) -> InputMessageRole
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 InputMessageRole
impl Debug for InputMessageRole
Source§impl<'de> Deserialize<'de> for InputMessageRole
impl<'de> Deserialize<'de> for InputMessageRole
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 InputMessageRole
impl PartialEq for InputMessageRole
Source§impl Serialize for InputMessageRole
impl Serialize for InputMessageRole
impl Copy for InputMessageRole
impl StructuralPartialEq for InputMessageRole
Auto Trait Implementations§
impl Freeze for InputMessageRole
impl RefUnwindSafe for InputMessageRole
impl Send for InputMessageRole
impl Sync for InputMessageRole
impl Unpin for InputMessageRole
impl UnwindSafe for InputMessageRole
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