pub struct BytesAnswer {
pub version: B3Hash,
pub span: Span,
pub size: u64,
pub base64: String,
}Expand description
One window of a stored object’s bytes.
Fields§
§version: B3Hash§span: SpanThe stretch answered; the next request starts at its end.
size: u64The whole object’s length.
base64: StringThe stretch’s bytes, in the standard base64 alphabet with padding.
Trait Implementations§
Source§impl Clone for BytesAnswer
impl Clone for BytesAnswer
Source§impl Debug for BytesAnswer
impl Debug for BytesAnswer
Source§impl<'de> Deserialize<'de> for BytesAnswer
impl<'de> Deserialize<'de> for BytesAnswer
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 BytesAnswer
Source§impl PartialEq for BytesAnswer
impl PartialEq for BytesAnswer
Source§impl Serialize for BytesAnswer
impl Serialize for BytesAnswer
impl StructuralPartialEq for BytesAnswer
Auto Trait Implementations§
impl Freeze for BytesAnswer
impl RefUnwindSafe for BytesAnswer
impl Send for BytesAnswer
impl Sync for BytesAnswer
impl Unpin for BytesAnswer
impl UnsafeUnpin for BytesAnswer
impl UnwindSafe for BytesAnswer
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