pub struct ServedChunk {
pub bundle_id: Uuid,
pub index: u64,
pub digest_multibase: String,
pub data: Vec<u8>,
pub expires_at: DateTime<Utc>,
}Expand description
One served chunk.
Fields§
§bundle_id: Uuid§index: u64§digest_multibase: String§data: Vec<u8>§expires_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for ServedChunk
impl Clone for ServedChunk
Source§fn clone(&self) -> ServedChunk
fn clone(&self) -> ServedChunk
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 moreAuto Trait Implementations§
impl Freeze for ServedChunk
impl RefUnwindSafe for ServedChunk
impl Send for ServedChunk
impl Sync for ServedChunk
impl Unpin for ServedChunk
impl UnsafeUnpin for ServedChunk
impl UnwindSafe for ServedChunk
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