pub struct BinaryStreamItem {
pub mime_type: Option<String>,
pub data: Vec<u8>,
pub done: Option<bool>,
}
Fields§
§mime_type: Option<String>
§data: Vec<u8>
§done: Option<bool>
Trait Implementations§
Source§impl Clone for BinaryStreamItem
impl Clone for BinaryStreamItem
Source§fn clone(&self) -> BinaryStreamItem
fn clone(&self) -> BinaryStreamItem
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BinaryStreamItem
impl Debug for BinaryStreamItem
Source§impl<'de> Deserialize<'de> for BinaryStreamItem
impl<'de> Deserialize<'de> for BinaryStreamItem
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BinaryStreamItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BinaryStreamItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for BinaryStreamItem
impl Serialize for BinaryStreamItem
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for BinaryStreamItem
impl RefUnwindSafe for BinaryStreamItem
impl Send for BinaryStreamItem
impl Sync for BinaryStreamItem
impl Unpin for BinaryStreamItem
impl UnwindSafe for BinaryStreamItem
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