Struct google_driveactivity2::api::Comment
source · pub struct Comment {
pub assignment: Option<Assignment>,
pub mentioned_users: Option<Vec<User>>,
pub post: Option<Post>,
pub suggestion: Option<Suggestion>,
}
Expand description
A change about comments on an object.
This type is not used in any activity, and only used as part of another schema.
Fields§
§assignment: Option<Assignment>
A change on an assignment.
mentioned_users: Option<Vec<User>>
Users who are mentioned in this comment.
post: Option<Post>
A change on a regular posted comment.
suggestion: Option<Suggestion>
A change on a suggestion.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Comment
impl<'de> Deserialize<'de> for Comment
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 Comment
Auto Trait Implementations§
impl RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin for Comment
impl UnwindSafe for Comment
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