pub struct Folder {
pub bucket: Option<String>,
pub create_time: Option<DateTime<Utc>>,
pub id: Option<String>,
pub kind: Option<String>,
pub metageneration: Option<i64>,
pub name: Option<String>,
pub pending_rename_info: Option<FolderPendingRenameInfo>,
pub self_link: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
A folder. Only available in buckets with hierarchical namespace enabled.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- delete folders (none)
- get folders (response)
- insert folders (request|response)
- list folders (none)
- rename folders (none)
Fields§
§bucket: Option<String>
The name of the bucket containing this folder.
create_time: Option<DateTime<Utc>>
The creation time of the folder in RFC 3339 format.
id: Option<String>
The ID of the folder, including the bucket name, folder name.
kind: Option<String>
The kind of item this is. For folders, this is always storage#folder.
metageneration: Option<i64>
The version of the metadata for this folder. Used for preconditions and for detecting changes in metadata.
name: Option<String>
The name of the folder. Required if not specified by URL parameter.
pending_rename_info: Option<FolderPendingRenameInfo>
Only present if the folder is part of an ongoing rename folder operation. Contains information which can be used to query the operation status.
self_link: Option<String>
The link to this folder.
update_time: Option<DateTime<Utc>>
The modification time of the folder metadata in RFC 3339 format.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Folder
impl<'de> Deserialize<'de> for Folder
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>,
impl RequestValue for Folder
impl Resource for Folder
impl ResponseResult for Folder
Auto Trait Implementations§
impl Freeze for Folder
impl RefUnwindSafe for Folder
impl Send for Folder
impl Sync for Folder
impl Unpin for Folder
impl UnwindSafe for Folder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more