Struct cloud_storage::object::ObjectList[][src]

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

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.