pub struct StreamVisibleSnapshot {
pub offset: u64,
pub content_type: String,
pub payload: Vec<u8>,
pub digest: String,
}Fields§
§offset: u64§content_type: String§payload: Vec<u8>§digest: StringBLAKE3 digest over the content type and payload. Empty only when decoding legacy snapshots; restore recomputes it.
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
impl Eq for StreamVisibleSnapshot
Source§impl PartialEq for StreamVisibleSnapshot
impl PartialEq for StreamVisibleSnapshot
Source§impl Serialize for StreamVisibleSnapshot
impl Serialize 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