pub struct ChatImageUrlPart {
pub type_: ChatImageUrlPartType,
pub image_url: ImageUrl,
pub prompt_cache_breakpoint: Option<PromptCacheBreakpoint>,
pub rest: Rest,
}Fields§
§type_: ChatImageUrlPartType§image_url: ImageUrl§prompt_cache_breakpoint: Option<PromptCacheBreakpoint>§rest: RestTrait Implementations§
Source§impl Clone for ChatImageUrlPart
impl Clone for ChatImageUrlPart
Source§fn clone(&self) -> ChatImageUrlPart
fn clone(&self) -> ChatImageUrlPart
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 ChatImageUrlPart
impl Debug for ChatImageUrlPart
Source§impl<'de> Deserialize<'de> for ChatImageUrlPart
impl<'de> Deserialize<'de> for ChatImageUrlPart
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 ChatImageUrlPart
impl PartialEq for ChatImageUrlPart
Source§impl Serialize for ChatImageUrlPart
impl Serialize for ChatImageUrlPart
impl StructuralPartialEq for ChatImageUrlPart
Auto Trait Implementations§
impl Freeze for ChatImageUrlPart
impl RefUnwindSafe for ChatImageUrlPart
impl Send for ChatImageUrlPart
impl Sync for ChatImageUrlPart
impl Unpin for ChatImageUrlPart
impl UnsafeUnpin for ChatImageUrlPart
impl UnwindSafe for ChatImageUrlPart
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