pub struct DownloadRestrictionsMetadata {
pub effective_download_restriction_with_context: Option<DownloadRestriction>,
pub item_download_restriction: Option<DownloadRestriction>,
}Expand description
Download restrictions applied to the file.
This type is not used in any activity, and only used as part of another schema.
Fields§
§effective_download_restriction_with_context: Option<DownloadRestriction>Output only. The effective download restriction applied to this file. This considers all restriction settings and DLP rules.
item_download_restriction: Option<DownloadRestriction>The download restriction of the file applied directly by the owner or organizer. This doesn’t take into account shared drive settings or DLP rules.
Trait Implementations§
Source§impl Clone for DownloadRestrictionsMetadata
impl Clone for DownloadRestrictionsMetadata
Source§fn clone(&self) -> DownloadRestrictionsMetadata
fn clone(&self) -> DownloadRestrictionsMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DownloadRestrictionsMetadata
impl Debug for DownloadRestrictionsMetadata
Source§impl Default for DownloadRestrictionsMetadata
impl Default for DownloadRestrictionsMetadata
Source§fn default() -> DownloadRestrictionsMetadata
fn default() -> DownloadRestrictionsMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DownloadRestrictionsMetadata
impl<'de> Deserialize<'de> for DownloadRestrictionsMetadata
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
impl Part for DownloadRestrictionsMetadata
Auto Trait Implementations§
impl Freeze for DownloadRestrictionsMetadata
impl RefUnwindSafe for DownloadRestrictionsMetadata
impl Send for DownloadRestrictionsMetadata
impl Sync for DownloadRestrictionsMetadata
impl Unpin for DownloadRestrictionsMetadata
impl UnwindSafe for DownloadRestrictionsMetadata
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