Struct google_drive::types::ContentRestriction [−][src]
pub struct ContentRestriction {
pub read_only: Option<bool>,
pub reason: String,
pub restricting_user: Option<User>,
pub restriction_time: Option<DateTime<Utc>>,
pub type_: String,
}Expand description
A restriction for accessing the content of the file.
Fields
read_only: Option<bool>A restriction for accessing the content of the file.
reason: StringA restriction for accessing the content of the file.
restricting_user: Option<User>A restriction for accessing the content of the file.
restriction_time: Option<DateTime<Utc>>A restriction for accessing the content of the file.
type_: StringA restriction for accessing the content of the file.
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ContentRestriction
impl Send for ContentRestriction
impl Sync for ContentRestriction
impl Unpin for ContentRestriction
impl UnwindSafe for ContentRestriction
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more