pub struct Target {
pub drive: Option<Drive>,
pub drive_item: Option<DriveItem>,
pub file_comment: Option<FileComment>,
pub team_drive: Option<TeamDrive>,
}Expand description
Information about the target of activity. For more information on how activity history is shared with users, see Activity history visibility.
This type is not used in any activity, and only used as part of another schema.
Fields§
§drive: Option<Drive>The target is a shared drive.
drive_item: Option<DriveItem>The target is a Drive item.
file_comment: Option<FileComment>The target is a comment on a Drive file.
team_drive: Option<TeamDrive>This field is deprecated; please use the drive field instead.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Target
impl<'de> Deserialize<'de> for Target
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 Target
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
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