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