pub struct AnthropicImageSource {
pub source_type: String,
pub media_type: String,
pub data: String,
}Expand description
Image source for image content blocks.
Fields§
§source_type: String§media_type: String§data: StringTrait Implementations§
Source§impl Clone for AnthropicImageSource
impl Clone for AnthropicImageSource
Source§fn clone(&self) -> AnthropicImageSource
fn clone(&self) -> AnthropicImageSource
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 AnthropicImageSource
impl Debug for AnthropicImageSource
Source§impl<'de> Deserialize<'de> for AnthropicImageSource
impl<'de> Deserialize<'de> for AnthropicImageSource
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
Auto Trait Implementations§
impl Freeze for AnthropicImageSource
impl RefUnwindSafe for AnthropicImageSource
impl Send for AnthropicImageSource
impl Sync for AnthropicImageSource
impl Unpin for AnthropicImageSource
impl UnsafeUnpin for AnthropicImageSource
impl UnwindSafe for AnthropicImageSource
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