pub struct FetchModuleRangeParams {
pub store_id: HexId,
pub root: HexId,
pub offset: Option<u64>,
pub length: u64,
}Expand description
Params for dig.fetchModuleRange —
a single range frame of the whole .dig module blob for (store, root).
The response reuses RangeFrame: bytes carries the
window of the module blob (base64), total_length
echoes the whole-module size on the first frame, and
complete ends the stream.
Fields§
§store_id: HexIdThe store launcher id (64-hex, required).
root: HexIdThe generation root whose .dig module is being pulled (64-hex, required).
offset: Option<u64>The range start into the module blob (default 0).
length: u64The range length in bytes (> 0; clamped to the window cap).
Trait Implementations§
Source§impl Clone for FetchModuleRangeParams
impl Clone for FetchModuleRangeParams
Source§fn clone(&self) -> FetchModuleRangeParams
fn clone(&self) -> FetchModuleRangeParams
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 moreSource§impl Debug for FetchModuleRangeParams
impl Debug for FetchModuleRangeParams
Source§impl<'de> Deserialize<'de> for FetchModuleRangeParams
impl<'de> Deserialize<'de> for FetchModuleRangeParams
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 FetchModuleRangeParams
Source§impl PartialEq for FetchModuleRangeParams
impl PartialEq for FetchModuleRangeParams
Source§impl Serialize for FetchModuleRangeParams
impl Serialize for FetchModuleRangeParams
impl StructuralPartialEq for FetchModuleRangeParams
Auto Trait Implementations§
impl Freeze for FetchModuleRangeParams
impl RefUnwindSafe for FetchModuleRangeParams
impl Send for FetchModuleRangeParams
impl Sync for FetchModuleRangeParams
impl Unpin for FetchModuleRangeParams
impl UnsafeUnpin for FetchModuleRangeParams
impl UnwindSafe for FetchModuleRangeParams
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