pub struct FunctionResponseFileData {
pub file_uri: String,
pub mime_type: String,
pub display_name: Option<String>,
}Expand description
函数响应内容中的文件引用。
Fields§
§file_uri: String§mime_type: String§display_name: Option<String>Trait Implementations§
Source§impl Clone for FunctionResponseFileData
impl Clone for FunctionResponseFileData
Source§fn clone(&self) -> FunctionResponseFileData
fn clone(&self) -> FunctionResponseFileData
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 FunctionResponseFileData
impl Debug for FunctionResponseFileData
Source§impl<'de> Deserialize<'de> for FunctionResponseFileData
impl<'de> Deserialize<'de> for FunctionResponseFileData
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 FunctionResponseFileData
impl RefUnwindSafe for FunctionResponseFileData
impl Send for FunctionResponseFileData
impl Sync for FunctionResponseFileData
impl Unpin for FunctionResponseFileData
impl UnsafeUnpin for FunctionResponseFileData
impl UnwindSafe for FunctionResponseFileData
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