Struct aws_sdk_s3::types::builders::ScanRangeBuilder
source · #[non_exhaustive]pub struct ScanRangeBuilder { /* private fields */ }
Expand description
A builder for ScanRange
.
Implementations§
source§impl ScanRangeBuilder
impl ScanRangeBuilder
sourcepub fn start(self, input: i64) -> Self
pub fn start(self, input: i64) -> Self
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.
sourcepub fn set_start(self, input: Option<i64>) -> Self
pub fn set_start(self, input: Option<i64>) -> Self
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.
sourcepub 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.
sourcepub fn end(self, input: i64) -> Self
pub fn end(self, input: i64) -> Self
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.
sourcepub fn set_end(self, input: Option<i64>) -> Self
pub fn set_end(self, input: Option<i64>) -> Self
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.
sourcepub 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§
source§impl Clone for ScanRangeBuilder
impl Clone for ScanRangeBuilder
source§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 moresource§impl Debug for ScanRangeBuilder
impl Debug for ScanRangeBuilder
source§impl Default for ScanRangeBuilder
impl Default for ScanRangeBuilder
source§fn default() -> ScanRangeBuilder
fn default() -> ScanRangeBuilder
source§impl PartialEq for ScanRangeBuilder
impl PartialEq for ScanRangeBuilder
impl StructuralPartialEq for ScanRangeBuilder
Auto Trait Implementations§
impl Freeze for ScanRangeBuilder
impl RefUnwindSafe for ScanRangeBuilder
impl Send for ScanRangeBuilder
impl Sync for ScanRangeBuilder
impl Unpin for ScanRangeBuilder
impl UnwindSafe for ScanRangeBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)