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§
§prefix: Option<String>
Container for the specified common prefix.
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 Default for CommonPrefix
impl Default for CommonPrefix
Source§fn default() -> CommonPrefix
fn default() -> CommonPrefix
Returns the “default value” for a type. Read more
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