pub struct ByteRangeWithOffset {
pub length_bytes: u64,
pub start_offset_bytes: 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: u64The offset from the start of the resource to the start of the range in bytes.
Trait Implementations§
Source§impl Clone for ByteRangeWithOffset
impl Clone for ByteRangeWithOffset
Source§fn clone(&self) -> ByteRangeWithOffset
fn clone(&self) -> ByteRangeWithOffset
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 ByteRangeWithOffset
impl Debug for ByteRangeWithOffset
Source§impl PartialEq for ByteRangeWithOffset
impl PartialEq for ByteRangeWithOffset
impl Eq for ByteRangeWithOffset
impl StructuralPartialEq for ByteRangeWithOffset
Auto Trait Implementations§
impl Freeze for ByteRangeWithOffset
impl RefUnwindSafe for ByteRangeWithOffset
impl Send for ByteRangeWithOffset
impl Sync for ByteRangeWithOffset
impl Unpin for ByteRangeWithOffset
impl UnwindSafe for ByteRangeWithOffset
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