pub struct FunctionResponseBlob {
pub mime_type: String,
pub data: Vec<u8>,
pub display_name: Option<String>,
}Expand description
函数响应内容中的二进制数据。
Fields§
§mime_type: String§data: Vec<u8>§display_name: Option<String>Trait Implementations§
Source§impl Clone for FunctionResponseBlob
impl Clone for FunctionResponseBlob
Source§fn clone(&self) -> FunctionResponseBlob
fn clone(&self) -> FunctionResponseBlob
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 FunctionResponseBlob
impl Debug for FunctionResponseBlob
Source§impl<'de> Deserialize<'de> for FunctionResponseBlob
impl<'de> Deserialize<'de> for FunctionResponseBlob
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 FunctionResponseBlob
impl RefUnwindSafe for FunctionResponseBlob
impl Send for FunctionResponseBlob
impl Sync for FunctionResponseBlob
impl Unpin for FunctionResponseBlob
impl UnsafeUnpin for FunctionResponseBlob
impl UnwindSafe for FunctionResponseBlob
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