pub struct ObjectList {
pub kind: String,
pub items: Vec<Object>,
pub prefixes: Vec<String>,
pub next_page_token: Option<String>,
}
Expand description
Response from Object::list
.
Fields§
§kind: String
The kind of item this is. For lists of objects, this is always storage#objects
.
items: Vec<Object>
The list of objects, ordered lexicographically by name.
prefixes: Vec<String>
Object name prefixes for objects that matched the listing request but were excluded
from items
because of a delimiter. Values in this list are object names up to and
including the requested delimiter. Duplicate entries are omitted from this list.
next_page_token: Option<String>
The continuation token, included only if there are more items to return. Provide
this value as the page_token
of a subsequent request in order to return the next
page of results.
Trait Implementations§
Source§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
Auto Trait Implementations§
impl Freeze for ObjectList
impl RefUnwindSafe for ObjectList
impl Send for ObjectList
impl Sync for ObjectList
impl Unpin 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