Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::ScanRangeBuilder
pub struct ScanRangeBuilder { /* private fields */ }
Expand description
A builder for ScanRange
.
Implementations§
§impl ScanRangeBuilder
impl ScanRangeBuilder
pub fn start(self, input: i64) -> ScanRangeBuilder
pub fn start(self, input: i64) -> ScanRangeBuilder
Specifies the start of the byte range. This parameter is optional. Valid values: non-negative integers. The default value is 0. If only start
is supplied, it means scan from that point to the end of the file. For example,
means scan from byte 50 until the end of the file.
pub fn set_start(self, input: Option<i64>) -> ScanRangeBuilder
pub fn set_start(self, input: Option<i64>) -> ScanRangeBuilder
Specifies the start of the byte range. This parameter is optional. Valid values: non-negative integers. The default value is 0. If only start
is supplied, it means scan from that point to the end of the file. For example,
means scan from byte 50 until the end of the file.
pub fn get_start(&self) -> &Option<i64>
pub fn get_start(&self) -> &Option<i64>
Specifies the start of the byte range. This parameter is optional. Valid values: non-negative integers. The default value is 0. If only start
is supplied, it means scan from that point to the end of the file. For example,
means scan from byte 50 until the end of the file.
pub fn end(self, input: i64) -> ScanRangeBuilder
pub fn end(self, input: i64) -> ScanRangeBuilder
Specifies the end of the byte range. This parameter is optional. Valid values: non-negative integers. The default value is one less than the size of the object being queried. If only the End parameter is supplied, it is interpreted to mean scan the last N bytes of the file. For example,
means scan the last 50 bytes.
pub fn set_end(self, input: Option<i64>) -> ScanRangeBuilder
pub fn set_end(self, input: Option<i64>) -> ScanRangeBuilder
Specifies the end of the byte range. This parameter is optional. Valid values: non-negative integers. The default value is one less than the size of the object being queried. If only the End parameter is supplied, it is interpreted to mean scan the last N bytes of the file. For example,
means scan the last 50 bytes.
pub fn get_end(&self) -> &Option<i64>
pub fn get_end(&self) -> &Option<i64>
Specifies the end of the byte range. This parameter is optional. Valid values: non-negative integers. The default value is one less than the size of the object being queried. If only the End parameter is supplied, it is interpreted to mean scan the last N bytes of the file. For example,
means scan the last 50 bytes.
Trait Implementations§
§impl Clone for ScanRangeBuilder
impl Clone for ScanRangeBuilder
§fn clone(&self) -> ScanRangeBuilder
fn clone(&self) -> ScanRangeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for ScanRangeBuilder
impl Debug for ScanRangeBuilder
§impl Default for ScanRangeBuilder
impl Default for ScanRangeBuilder
§fn default() -> ScanRangeBuilder
fn default() -> ScanRangeBuilder
§impl PartialEq<ScanRangeBuilder> for ScanRangeBuilder
impl PartialEq<ScanRangeBuilder> for ScanRangeBuilder
§fn eq(&self, other: &ScanRangeBuilder) -> bool
fn eq(&self, other: &ScanRangeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.