pub struct ReadChannelResponse {
pub bytes: Bytes,
pub offset: Option<u64>,
}Fields§
§bytes: Bytes§offset: Option<u64>Trait Implementations§
Source§impl Clone for ReadChannelResponse
impl Clone for ReadChannelResponse
Source§fn clone(&self) -> ReadChannelResponse
fn clone(&self) -> ReadChannelResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReadChannelResponse
impl Debug for ReadChannelResponse
Source§impl<'de> Deserialize<'de> for ReadChannelResponse
impl<'de> Deserialize<'de> for ReadChannelResponse
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
impl Eq for ReadChannelResponse
Source§impl Hash for ReadChannelResponse
impl Hash for ReadChannelResponse
Source§impl Ord for ReadChannelResponse
impl Ord for ReadChannelResponse
Source§fn cmp(&self, other: &ReadChannelResponse) -> Ordering
fn cmp(&self, other: &ReadChannelResponse) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ReadChannelResponse
impl PartialEq for ReadChannelResponse
Source§fn eq(&self, other: &ReadChannelResponse) -> bool
fn eq(&self, other: &ReadChannelResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ReadChannelResponse
impl PartialOrd for ReadChannelResponse
Source§impl Serialize for ReadChannelResponse
impl Serialize for ReadChannelResponse
impl StructuralPartialEq for ReadChannelResponse
Auto Trait Implementations§
impl !Freeze for ReadChannelResponse
impl RefUnwindSafe for ReadChannelResponse
impl Send for ReadChannelResponse
impl Sync for ReadChannelResponse
impl Unpin for ReadChannelResponse
impl UnsafeUnpin for ReadChannelResponse
impl UnwindSafe for ReadChannelResponse
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