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 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<'de> Deserialize<'de> for CommonPrefix
impl<'de> Deserialize<'de> for CommonPrefix
Source§fn 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 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