pub struct ByteRange {
pub length_bytes: u64,
pub start_offset_bytes: Option<u64>,
}Expand description
Represents a range of bytes in a given resource.
Fields§
§length_bytes: u64The length of the range in bytes.
start_offset_bytes: Option<u64>The offset from the start of the resource to the start of the range in bytes.
Trait Implementations§
impl Eq for ByteRange
impl StructuralPartialEq for ByteRange
Auto Trait Implementations§
impl Freeze for ByteRange
impl RefUnwindSafe for ByteRange
impl Send for ByteRange
impl Sync for ByteRange
impl Unpin for ByteRange
impl UnwindSafe for ByteRange
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