pub struct ListBucketResult {
pub name: String,
pub next_marker: Option<String>,
pub delimiter: Option<String>,
pub max_keys: i32,
pub prefix: String,
pub marker: Option<String>,
pub encoding_type: Option<String>,
pub is_truncated: bool,
pub next_continuation_token: Option<String>,
pub contents: Vec<Object>,
pub common_prefixes: Option<Vec<CommonPrefix>>,
}
Expand description
The parsed result of a s3 bucket listing
Fields
name: String
Name of the bucket.
next_marker: Option<String>
When the response is truncated (that is, the IsTruncated element value in the response is true), you can use the key name in this field as a marker in the subsequent request to get next set of objects. Amazon S3 lists objects in UTF-8 character encoding in lexicographical order.
delimiter: Option<String>
A delimiter is a character you use to group keys.
max_keys: i32
Sets the maximum number of keys returned in the response body.
prefix: String
Limits the response to keys that begin with the specified prefix.
marker: Option<String>
Indicates where in the bucket listing begins. Marker is included in the response if it was sent with the request.
encoding_type: Option<String>
Specifies the encoding method to used
is_truncated: bool
Specifies whether (true) or not (false) all of the results were returned. If the number of results exceeds that specified by MaxKeys, all of the results might not be returned.
next_continuation_token: Option<String>
contents: Vec<Object>
Metadata about each object returned.
common_prefixes: Option<Vec<CommonPrefix>>
All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.
Trait Implementations
sourceimpl Clone for ListBucketResult
impl Clone for ListBucketResult
sourcefn clone(&self) -> ListBucketResult
fn clone(&self) -> ListBucketResult
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 ListBucketResult
impl Debug for ListBucketResult
sourceimpl<'de> Deserialize<'de> for ListBucketResult
impl<'de> Deserialize<'de> for ListBucketResult
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
Auto Trait Implementations
impl RefUnwindSafe for ListBucketResult
impl Send for ListBucketResult
impl Sync for ListBucketResult
impl Unpin for ListBucketResult
impl UnwindSafe for ListBucketResult
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>
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. 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