pub struct GetChunk {
pub content_id: [u8; 32],
pub chunk_index: u32,
}Expand description
Chunk request. Wire format: {0: content_id, 1: chunk_index}.
Fields§
§content_id: [u8; 32]§chunk_index: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetChunk
impl<'de> Deserialize<'de> for GetChunk
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GetChunk
impl StructuralPartialEq for GetChunk
Auto Trait Implementations§
impl Freeze for GetChunk
impl RefUnwindSafe for GetChunk
impl Send for GetChunk
impl Sync for GetChunk
impl Unpin for GetChunk
impl UnsafeUnpin for GetChunk
impl UnwindSafe for GetChunk
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