pub struct GetObjectRequest {
    pub object_id: ObjectId,
    pub container_id: ContainerId,
    pub range_start: Option<u64>,
    pub range_end: Option<u64>,
}Expand description
Parameter to GetObject
Fields
object_id: ObjectIdobject to download
container_id: ContainerIdobject’s container
range_start: Option<u64>Requested start of object to retrieve. The first byte is at offset 0. Range values are inclusive. If rangeStart is beyond the end of the file, an empty chunk will be returned with isLast == true
range_end: Option<u64>Requested end of object to retrieve. Defaults to the object’s size. It is not an error for rangeEnd to be greater than the object size. Range values are inclusive.
Trait Implementations
sourceimpl Clone for GetObjectRequest
 
impl Clone for GetObjectRequest
sourcefn clone(&self) -> GetObjectRequest
 
fn clone(&self) -> GetObjectRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GetObjectRequest
 
impl Debug for GetObjectRequest
sourceimpl Default for GetObjectRequest
 
impl Default for GetObjectRequest
sourcefn default() -> GetObjectRequest
 
fn default() -> GetObjectRequest
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetObjectRequest
 
impl<'de> Deserialize<'de> for GetObjectRequest
sourcefn 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
sourceimpl PartialEq<GetObjectRequest> for GetObjectRequest
 
impl PartialEq<GetObjectRequest> for GetObjectRequest
sourcefn eq(&self, other: &GetObjectRequest) -> bool
 
fn eq(&self, other: &GetObjectRequest) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GetObjectRequest) -> bool
 
fn ne(&self, other: &GetObjectRequest) -> bool
This method tests for !=.
sourceimpl Serialize for GetObjectRequest
 
impl Serialize for GetObjectRequest
impl Eq for GetObjectRequest
impl StructuralEq for GetObjectRequest
impl StructuralPartialEq for GetObjectRequest
Auto Trait Implementations
impl RefUnwindSafe for GetObjectRequest
impl Send for GetObjectRequest
impl Sync for GetObjectRequest
impl Unpin for GetObjectRequest
impl UnwindSafe for GetObjectRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
 
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
 
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
 
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
 
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
 
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourceimpl<T> WithSubscriber for T
 
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
 
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
 
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more