Struct google_driveactivity2::api::DriveReference
source · pub struct DriveReference {
pub name: Option<String>,
pub title: Option<String>,
}
Expand description
A lightweight reference to a shared drive.
This type is not used in any activity, and only used as part of another schema.
Fields§
§name: Option<String>
The resource name of the shared drive. The format is COLLECTION_ID/DRIVE_ID
. Clients should not assume a specific collection ID for this resource name.
title: Option<String>
The title of the shared drive.
Trait Implementations§
source§impl Clone for DriveReference
impl Clone for DriveReference
source§fn clone(&self) -> DriveReference
fn clone(&self) -> DriveReference
Returns a copy 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 DriveReference
impl Debug for DriveReference
source§impl Default for DriveReference
impl Default for DriveReference
source§fn default() -> DriveReference
fn default() -> DriveReference
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DriveReference
impl<'de> Deserialize<'de> for DriveReference
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
source§impl Serialize for DriveReference
impl Serialize for DriveReference
impl Part for DriveReference
Auto Trait Implementations§
impl RefUnwindSafe for DriveReference
impl Send for DriveReference
impl Sync for DriveReference
impl Unpin for DriveReference
impl UnwindSafe for DriveReference
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