pub enum ContentBlockType {
Text,
Thinking,
ToolUse {
id: String,
name: String,
},
}Expand description
内容块类型
Variants§
Trait Implementations§
Source§impl Clone for ContentBlockType
impl Clone for ContentBlockType
Source§fn clone(&self) -> ContentBlockType
fn clone(&self) -> ContentBlockType
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 moreAuto Trait Implementations§
impl Freeze for ContentBlockType
impl RefUnwindSafe for ContentBlockType
impl Send for ContentBlockType
impl Sync for ContentBlockType
impl Unpin for ContentBlockType
impl UnsafeUnpin for ContentBlockType
impl UnwindSafe for ContentBlockType
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