pub struct SingleQueuedChunkResponse {
pub chunk_metadata: Box<ChunkMetadata>,
pub pos_in_queue: i32,
}Fields§
§chunk_metadata: Box<ChunkMetadata>§pos_in_queue: i32The current position the last access item is in the queue
Implementations§
Source§impl SingleQueuedChunkResponse
impl SingleQueuedChunkResponse
pub fn new( chunk_metadata: ChunkMetadata, pos_in_queue: i32, ) -> SingleQueuedChunkResponse
Trait Implementations§
Source§impl Clone for SingleQueuedChunkResponse
impl Clone for SingleQueuedChunkResponse
Source§fn clone(&self) -> SingleQueuedChunkResponse
fn clone(&self) -> SingleQueuedChunkResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 SingleQueuedChunkResponse
impl Debug for SingleQueuedChunkResponse
Source§impl Default for SingleQueuedChunkResponse
impl Default for SingleQueuedChunkResponse
Source§fn default() -> SingleQueuedChunkResponse
fn default() -> SingleQueuedChunkResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SingleQueuedChunkResponse
impl<'de> Deserialize<'de> for SingleQueuedChunkResponse
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 StructuralPartialEq for SingleQueuedChunkResponse
Auto Trait Implementations§
impl Freeze for SingleQueuedChunkResponse
impl RefUnwindSafe for SingleQueuedChunkResponse
impl Send for SingleQueuedChunkResponse
impl Sync for SingleQueuedChunkResponse
impl Unpin for SingleQueuedChunkResponse
impl UnwindSafe for SingleQueuedChunkResponse
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