pub struct ChatContentPartImageUrl {
pub kind: Cow<'static, str>,
pub image_url: ChatImageUrl,
}Fields§
§kind: Cow<'static, str>§image_url: ChatImageUrlTrait Implementations§
Source§impl Clone for ChatContentPartImageUrl
impl Clone for ChatContentPartImageUrl
Source§fn clone(&self) -> ChatContentPartImageUrl
fn clone(&self) -> ChatContentPartImageUrl
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 ChatContentPartImageUrl
impl Debug for ChatContentPartImageUrl
Source§impl<'de> Deserialize<'de> for ChatContentPartImageUrl
impl<'de> Deserialize<'de> for ChatContentPartImageUrl
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 ChatContentPartImageUrl
impl RefUnwindSafe for ChatContentPartImageUrl
impl Send for ChatContentPartImageUrl
impl Sync for ChatContentPartImageUrl
impl Unpin for ChatContentPartImageUrl
impl UnwindSafe for ChatContentPartImageUrl
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