pub struct ReadReturns {
pub base64Encoded: Option<bool>,
pub data: String,
pub eof: bool,
}Expand description
Read a chunk of the stream
Fields§
§base64Encoded: Option<bool>Set if the data is base64-encoded
data: StringData that were read.
eof: boolSet if the end-of-file condition occurred while reading.
Trait Implementations§
Source§impl Clone for ReadReturns
impl Clone for ReadReturns
Source§fn clone(&self) -> ReadReturns
fn clone(&self) -> ReadReturns
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 ReadReturns
impl Debug for ReadReturns
Source§impl Default for ReadReturns
impl Default for ReadReturns
Source§fn default() -> ReadReturns
fn default() -> ReadReturns
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReadReturns
impl<'de> Deserialize<'de> for ReadReturns
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 ReadReturns
impl RefUnwindSafe for ReadReturns
impl Send for ReadReturns
impl Sync for ReadReturns
impl Unpin for ReadReturns
impl UnsafeUnpin for ReadReturns
impl UnwindSafe for ReadReturns
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