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