pub struct StreamVisibleSnapshot {
pub offset: u64,
pub content_type: String,
pub payload: Vec<u8>,
}Fields§
§offset: u64§content_type: String§payload: Vec<u8>Trait Implementations§
Source§impl Clone for StreamVisibleSnapshot
impl Clone for StreamVisibleSnapshot
Source§fn clone(&self) -> StreamVisibleSnapshot
fn clone(&self) -> StreamVisibleSnapshot
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 StreamVisibleSnapshot
impl Debug for StreamVisibleSnapshot
Source§impl<'de> Deserialize<'de> for StreamVisibleSnapshot
impl<'de> Deserialize<'de> for StreamVisibleSnapshot
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
Source§impl PartialEq for StreamVisibleSnapshot
impl PartialEq for StreamVisibleSnapshot
Source§fn eq(&self, other: &StreamVisibleSnapshot) -> bool
fn eq(&self, other: &StreamVisibleSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StreamVisibleSnapshot
impl Serialize for StreamVisibleSnapshot
impl Eq for StreamVisibleSnapshot
impl StructuralPartialEq for StreamVisibleSnapshot
Auto Trait Implementations§
impl Freeze for StreamVisibleSnapshot
impl RefUnwindSafe for StreamVisibleSnapshot
impl Send for StreamVisibleSnapshot
impl Sync for StreamVisibleSnapshot
impl Unpin for StreamVisibleSnapshot
impl UnsafeUnpin for StreamVisibleSnapshot
impl UnwindSafe for StreamVisibleSnapshot
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