pub struct GetRequest {
pub target: ReadTarget,
pub object_key: String,
pub version_id: Option<String>,
pub range: Option<(u64, Option<u64>)>,
pub if_match: Option<String>,
pub if_none_match: Option<String>,
pub maximum_bytes: u64,
}Expand description
One transport-independent object read.
Fields§
§target: ReadTargetCurrent bucket or immutable snapshot.
object_key: StringUTF-8 object key.
version_id: Option<String>Exact retained version, or the visible current version when absent.
range: Option<(u64, Option<u64>)>One inclusive byte range, or the complete body when absent.
if_match: Option<String>Optional representation validator that must match.
if_none_match: Option<String>Optional representation validator that must not match.
maximum_bytes: u64Maximum selected body bytes the provider may allocate or return.
Trait Implementations§
Source§impl Clone for GetRequest
impl Clone for GetRequest
Auto Trait Implementations§
impl Freeze for GetRequest
impl RefUnwindSafe for GetRequest
impl Send for GetRequest
impl Sync for GetRequest
impl Unpin for GetRequest
impl UnsafeUnpin for GetRequest
impl UnwindSafe for GetRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request