Struct google_driveactivity2::api::Assignment
source · pub struct Assignment {
pub assigned_user: Option<User>,
pub subtype: Option<String>,
}
Expand description
A comment with an assignment.
This type is not used in any activity, and only used as part of another schema.
Fields§
§assigned_user: Option<User>
The user to whom the comment was assigned.
subtype: Option<String>
The sub-type of this event.
Trait Implementations§
source§impl Clone for Assignment
impl Clone for Assignment
source§fn clone(&self) -> Assignment
fn clone(&self) -> Assignment
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 Assignment
impl Debug for Assignment
source§impl Default for Assignment
impl Default for Assignment
source§fn default() -> Assignment
fn default() -> Assignment
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Assignment
impl<'de> Deserialize<'de> for Assignment
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 Assignment
impl Serialize for Assignment
impl Part for Assignment
Auto Trait Implementations§
impl RefUnwindSafe for Assignment
impl Send for Assignment
impl Sync for Assignment
impl Unpin for Assignment
impl UnwindSafe for Assignment
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