pub enum HarnessNativeSessionPreviewRoleV1 {
User,
Assistant,
}Variants§
Trait Implementations§
impl Copy for HarnessNativeSessionPreviewRoleV1
Source§impl<'de> Deserialize<'de> for HarnessNativeSessionPreviewRoleV1
impl<'de> Deserialize<'de> for HarnessNativeSessionPreviewRoleV1
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 Eq for HarnessNativeSessionPreviewRoleV1
impl StructuralPartialEq for HarnessNativeSessionPreviewRoleV1
Auto Trait Implementations§
impl Freeze for HarnessNativeSessionPreviewRoleV1
impl RefUnwindSafe for HarnessNativeSessionPreviewRoleV1
impl Send for HarnessNativeSessionPreviewRoleV1
impl Sync for HarnessNativeSessionPreviewRoleV1
impl Unpin for HarnessNativeSessionPreviewRoleV1
impl UnsafeUnpin for HarnessNativeSessionPreviewRoleV1
impl UnwindSafe for HarnessNativeSessionPreviewRoleV1
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