Struct google_plus1::Comment
source · pub struct Comment {
pub in_reply_to: Option<Vec<CommentInReplyTo>>,
pub kind: Option<String>,
pub plusoners: Option<CommentPlusoners>,
pub object: Option<CommentObject>,
pub updated: Option<String>,
pub actor: Option<CommentActor>,
pub verb: Option<String>,
pub etag: Option<String>,
pub published: Option<String>,
pub id: Option<String>,
pub self_link: Option<String>,
}Expand description
There is no detailed description.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- list comments (none)
- get comments (response)
Fields§
§in_reply_to: Option<Vec<CommentInReplyTo>>The activity this comment replied to.
kind: Option<String>Identifies this resource as a comment. Value: “plus#comment”.
plusoners: Option<CommentPlusoners>People who +1’d this comment.
object: Option<CommentObject>The object of this comment.
updated: Option<String>The time at which this comment was last updated. Formatted as an RFC 3339 timestamp.
actor: Option<CommentActor>The person who posted this comment.
verb: Option<String>This comment’s verb, indicating what action was performed. Possible values are:
- “post” - Publish content to the stream.
etag: Option<String>ETag of this response for caching purposes.
published: Option<String>The time at which this comment was initially published. Formatted as an RFC 3339 timestamp.
id: Option<String>The ID of this comment.
self_link: Option<String>Link to this comment resource.
Trait Implementations§
source§impl Deserialize for Comment
impl Deserialize for Comment
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
impl Resource for Comment
impl ResponseResult for Comment
Auto Trait Implementations§
impl Freeze for Comment
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more