pub enum OutputContentBlock {
Text {
text: String,
},
ToolUse {
id: String,
name: String,
input: Value,
},
Thinking {
thinking: String,
signature: Option<String>,
},
RedactedThinking {
data: Value,
},
}Variants§
Trait Implementations§
Source§impl Clone for OutputContentBlock
impl Clone for OutputContentBlock
Source§fn clone(&self) -> OutputContentBlock
fn clone(&self) -> OutputContentBlock
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 OutputContentBlock
impl Debug for OutputContentBlock
Source§impl<'de> Deserialize<'de> for OutputContentBlock
impl<'de> Deserialize<'de> for OutputContentBlock
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 OutputContentBlock
impl PartialEq for OutputContentBlock
Source§impl Serialize for OutputContentBlock
impl Serialize for OutputContentBlock
impl StructuralPartialEq for OutputContentBlock
Auto Trait Implementations§
impl Freeze for OutputContentBlock
impl RefUnwindSafe for OutputContentBlock
impl Send for OutputContentBlock
impl Sync for OutputContentBlock
impl Unpin for OutputContentBlock
impl UnsafeUnpin for OutputContentBlock
impl UnwindSafe for OutputContentBlock
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