Struct google_driveactivity2::api::Owner
source · pub struct Owner {
pub domain: Option<Domain>,
pub drive: Option<DriveReference>,
pub team_drive: Option<TeamDriveReference>,
pub user: Option<User>,
}
Expand description
Information about the owner of a Drive item.
This type is not used in any activity, and only used as part of another schema.
Fields§
§domain: Option<Domain>
The domain of the Drive item owner.
drive: Option<DriveReference>
The drive that owns the item.
team_drive: Option<TeamDriveReference>
This field is deprecated; please use the drive
field instead.
user: Option<User>
The user that owns the Drive item.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Owner
impl<'de> Deserialize<'de> for Owner
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 Owner
Auto Trait Implementations§
impl RefUnwindSafe for Owner
impl Send for Owner
impl Sync for Owner
impl Unpin for Owner
impl UnwindSafe for Owner
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