pub struct ObjectList {
pub bucket: Option<String>,
pub objects: Option<Vec<ObjectItem>>,
pub prefix: Option<String>,
pub total: Option<i32>,
}Fields§
§bucket: Option<String>Bucket is the bucket that was listed, friendly name.
objects: Option<Vec<ObjectItem>>Objects are the entries at this level, keys RELATIVE to Prefix.
prefix: Option<String>Prefix is the sub-folder the listing was scoped to, cleaned. Empty for the bucket root.
total: Option<i32>Total is how many entries came back. The listing is BOUNDED, so a bucket with more keys than the cap answers the cap and this says so — it is not a count of what the bucket holds.
Implementations§
Source§impl ObjectList
impl ObjectList
pub fn new() -> ObjectList
Trait Implementations§
Source§impl Clone for ObjectList
impl Clone for ObjectList
Source§fn clone(&self) -> ObjectList
fn clone(&self) -> ObjectList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ObjectList
impl Debug for ObjectList
Source§impl Default for ObjectList
impl Default for ObjectList
Source§fn default() -> ObjectList
fn default() -> ObjectList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ObjectList
impl<'de> Deserialize<'de> for ObjectList
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
Source§impl PartialEq for ObjectList
impl PartialEq for ObjectList
Source§impl Serialize for ObjectList
impl Serialize for ObjectList
impl StructuralPartialEq for ObjectList
Auto Trait Implementations§
impl Freeze for ObjectList
impl RefUnwindSafe for ObjectList
impl Send for ObjectList
impl Sync for ObjectList
impl Unpin for ObjectList
impl UnsafeUnpin for ObjectList
impl UnwindSafe for ObjectList
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