Struct google_drive::types::FileCapabilities
source · [−]pub struct FileCapabilities {Show 35 fields
pub can_add_children: Option<bool>,
pub can_add_folder_from_another_drive: Option<bool>,
pub can_add_my_drive_parent: Option<bool>,
pub can_change_copy_requires_writer_permission: Option<bool>,
pub can_change_security_update_enabled: Option<bool>,
pub can_change_viewers_can_copy_content: Option<bool>,
pub can_comment: Option<bool>,
pub can_copy: Option<bool>,
pub can_delete: Option<bool>,
pub can_delete_children: Option<bool>,
pub can_download: Option<bool>,
pub can_edit: Option<bool>,
pub can_list_children: Option<bool>,
pub can_modify_content: Option<bool>,
pub can_modify_content_restriction: Option<bool>,
pub can_move_children_out_of_drive: Option<bool>,
pub can_move_children_out_of_team_drive: Option<bool>,
pub can_move_children_within_drive: Option<bool>,
pub can_move_children_within_team_drive: Option<bool>,
pub can_move_item_into_team_drive: Option<bool>,
pub can_move_item_out_of_drive: Option<bool>,
pub can_move_item_out_of_team_drive: Option<bool>,
pub can_move_item_within_drive: Option<bool>,
pub can_move_item_within_team_drive: Option<bool>,
pub can_move_team_drive_item: Option<bool>,
pub can_read_drive: Option<bool>,
pub can_read_revisions: Option<bool>,
pub can_read_team_drive: Option<bool>,
pub can_remove_children: Option<bool>,
pub can_remove_my_drive_parent: Option<bool>,
pub can_rename: Option<bool>,
pub can_share: Option<bool>,
pub can_trash: Option<bool>,
pub can_trash_children: Option<bool>,
pub can_untrash: Option<bool>,
}
Expand description
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
Fields
can_add_children: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_add_folder_from_another_drive: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_add_my_drive_parent: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_change_copy_requires_writer_permission: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_change_security_update_enabled: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_change_viewers_can_copy_content: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_comment: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_copy: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_delete: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_delete_children: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_download: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_edit: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_list_children: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_modify_content: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_modify_content_restriction: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_children_out_of_drive: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_children_out_of_team_drive: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_children_within_drive: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_children_within_team_drive: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_item_into_team_drive: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_item_out_of_drive: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_item_out_of_team_drive: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_item_within_drive: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_item_within_team_drive: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_team_drive_item: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_read_drive: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_read_revisions: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_read_team_drive: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_remove_children: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_remove_my_drive_parent: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_rename: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_trash: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_trash_children: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_untrash: Option<bool>
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
Trait Implementations
sourceimpl Clone for FileCapabilities
impl Clone for FileCapabilities
sourcefn clone(&self) -> FileCapabilities
fn clone(&self) -> FileCapabilities
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FileCapabilities
impl Debug for FileCapabilities
sourceimpl<'de> Deserialize<'de> for FileCapabilities
impl<'de> Deserialize<'de> for FileCapabilities
sourcefn 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
sourceimpl JsonSchema for FileCapabilities
impl JsonSchema for FileCapabilities
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the $ref
keyword. Read more
sourceimpl PartialEq<FileCapabilities> for FileCapabilities
impl PartialEq<FileCapabilities> for FileCapabilities
sourcefn eq(&self, other: &FileCapabilities) -> bool
fn eq(&self, other: &FileCapabilities) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FileCapabilities) -> bool
fn ne(&self, other: &FileCapabilities) -> bool
This method tests for !=
.
sourceimpl Serialize for FileCapabilities
impl Serialize for FileCapabilities
impl StructuralPartialEq for FileCapabilities
Auto Trait Implementations
impl RefUnwindSafe for FileCapabilities
impl Send for FileCapabilities
impl Sync for FileCapabilities
impl Unpin for FileCapabilities
impl UnwindSafe for FileCapabilities
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> FutureExt for T
impl<T> FutureExt for T
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more