pub enum RoleTrue {
Assistant,
User,
}
Expand description
This is the role which the speech update is for.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RoleTrue
impl<'de> Deserialize<'de> for RoleTrue
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 Ord for RoleTrue
impl Ord for RoleTrue
Source§impl PartialOrd for RoleTrue
impl PartialOrd for RoleTrue
impl Copy for RoleTrue
impl Eq for RoleTrue
impl StructuralPartialEq for RoleTrue
Auto Trait Implementations§
impl Freeze for RoleTrue
impl RefUnwindSafe for RoleTrue
impl Send for RoleTrue
impl Sync for RoleTrue
impl Unpin for RoleTrue
impl UnwindSafe for RoleTrue
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