pub enum ResponsePartKind {
Markdown,
ContentRef,
ToolCall,
Reasoning,
SystemNotification,
InputRequest,
}Expand description
Discriminant for response part types.
Variants§
Trait Implementations§
Source§impl Clone for ResponsePartKind
impl Clone for ResponsePartKind
Source§fn clone(&self) -> ResponsePartKind
fn clone(&self) -> ResponsePartKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResponsePartKind
Source§impl Debug for ResponsePartKind
impl Debug for ResponsePartKind
Source§impl<'de> Deserialize<'de> for ResponsePartKind
impl<'de> Deserialize<'de> for ResponsePartKind
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 ResponsePartKind
Source§impl Hash for ResponsePartKind
impl Hash for ResponsePartKind
Source§impl PartialEq for ResponsePartKind
impl PartialEq for ResponsePartKind
Source§fn eq(&self, other: &ResponsePartKind) -> bool
fn eq(&self, other: &ResponsePartKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ResponsePartKind
impl Serialize for ResponsePartKind
impl StructuralPartialEq for ResponsePartKind
Auto Trait Implementations§
impl Freeze for ResponsePartKind
impl RefUnwindSafe for ResponsePartKind
impl Send for ResponsePartKind
impl Sync for ResponsePartKind
impl Unpin for ResponsePartKind
impl UnsafeUnpin for ResponsePartKind
impl UnwindSafe for ResponsePartKind
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