Struct open_lark::core::api_resp::BinaryResponse
source · pub struct BinaryResponse {
pub file_name: String,
pub body: Vec<u8>,
}Expand description
二进制数据响应体
Fields§
§file_name: String§body: Vec<u8>Trait Implementations§
source§impl ApiResponseTrait for BinaryResponse
impl ApiResponseTrait for BinaryResponse
source§fn data_format() -> ResponseFormat
fn data_format() -> ResponseFormat
是否是标准数据格式, 既是用data包裹数据
fn from_binary(file_name: String, body: Vec<u8>) -> Option<Self>
source§impl Debug for BinaryResponse
impl Debug for BinaryResponse
source§impl<'de> Deserialize<'de> for BinaryResponse
impl<'de> Deserialize<'de> for BinaryResponse
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 BinaryResponse
impl RefUnwindSafe for BinaryResponse
impl Send for BinaryResponse
impl Sync for BinaryResponse
impl Unpin for BinaryResponse
impl UnwindSafe for BinaryResponse
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