Struct aws_sdk_s3::types::CommonPrefix
source · #[non_exhaustive]pub struct CommonPrefix {
pub prefix: Option<String>,
}
Expand description
Container for all (if there are any) keys between Prefix and the next occurrence of the string specified by a delimiter. CommonPrefixes lists keys that act like subdirectories in the directory specified by Prefix. For example, if the prefix is notes/ and the delimiter is a slash (/) as in notes/summer/july, the common prefix is notes/summer/.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.prefix: Option<String>
Container for the specified common prefix.
Implementations§
source§impl CommonPrefix
impl CommonPrefix
source§impl CommonPrefix
impl CommonPrefix
sourcepub fn builder() -> CommonPrefixBuilder
pub fn builder() -> CommonPrefixBuilder
Creates a new builder-style object to manufacture CommonPrefix
.
Trait Implementations§
source§impl Clone for CommonPrefix
impl Clone for CommonPrefix
source§fn clone(&self) -> CommonPrefix
fn clone(&self) -> CommonPrefix
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CommonPrefix
impl Debug for CommonPrefix
source§impl PartialEq for CommonPrefix
impl PartialEq for CommonPrefix
impl StructuralPartialEq for CommonPrefix
Auto Trait Implementations§
impl Freeze for CommonPrefix
impl RefUnwindSafe for CommonPrefix
impl Send for CommonPrefix
impl Sync for CommonPrefix
impl Unpin for CommonPrefix
impl UnwindSafe for CommonPrefix
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Creates a shared type from an unshared type.