pub enum ContentBlockDelta {
Show 13 variants
Text(String),
ThinkingText(String),
ThinkingSignature(String),
ThinkingEncryptedContent(String),
ToolUseInputJson(String),
ToolResultContent(ToolResultContent),
HostedToolSearchQuery(String),
HostedToolSearchStatus(String),
HostedWebSearchAction(WebSearchAction),
HostedWebSearchStatus(String),
ImageGenerationStatus(String),
ImageGenerationRevisedPrompt(String),
ImageGenerationResult(ImageGenerationResult),
}Variants§
Text(String)
ThinkingText(String)
ThinkingSignature(String)
ThinkingEncryptedContent(String)
ToolUseInputJson(String)
ToolResultContent(ToolResultContent)
HostedToolSearchQuery(String)
HostedToolSearchStatus(String)
HostedWebSearchAction(WebSearchAction)
HostedWebSearchStatus(String)
ImageGenerationStatus(String)
ImageGenerationRevisedPrompt(String)
ImageGenerationResult(ImageGenerationResult)
Trait Implementations§
Source§impl Clone for ContentBlockDelta
impl Clone for ContentBlockDelta
Source§fn clone(&self) -> ContentBlockDelta
fn clone(&self) -> ContentBlockDelta
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 moreSource§impl Debug for ContentBlockDelta
impl Debug for ContentBlockDelta
impl Eq for ContentBlockDelta
Source§impl PartialEq for ContentBlockDelta
impl PartialEq for ContentBlockDelta
impl StructuralPartialEq for ContentBlockDelta
Auto Trait Implementations§
impl Freeze for ContentBlockDelta
impl RefUnwindSafe for ContentBlockDelta
impl Send for ContentBlockDelta
impl Sync for ContentBlockDelta
impl Unpin for ContentBlockDelta
impl UnsafeUnpin for ContentBlockDelta
impl UnwindSafe for ContentBlockDelta
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.