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