pub struct Comment {
pub actor: Option<CommentActor>,
pub etag: Option<String>,
pub id: Option<String>,
pub in_reply_to: Option<Vec<CommentInReplyTo>>,
pub kind: Option<String>,
pub object: Option<CommentObject>,
pub plusoners: Option<CommentPlusoners>,
pub published: Option<DateTime<Utc>>,
pub self_link: Option<String>,
pub updated: Option<DateTime<Utc>>,
pub verb: 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).
- get comments (response)
- list comments (none)
Fields§
§actor: Option<CommentActor>
The person who posted this comment.
etag: Option<String>
ETag of this response for caching purposes.
id: Option<String>
The ID of this comment.
in_reply_to: Option<Vec<CommentInReplyTo>>
The activity this comment replied to.
kind: Option<String>
Identifies this resource as a comment. Value: “plus#comment”.
object: Option<CommentObject>
The object of this comment.
plusoners: Option<CommentPlusoners>
People who +1’d this comment.
published: Option<DateTime<Utc>>
The time at which this comment was initially published. Formatted as an RFC 3339 timestamp.
self_link: Option<String>
Link to this comment resource.
updated: Option<DateTime<Utc>>
The time at which this comment was last updated. Formatted as an RFC 3339 timestamp.
verb: Option<String>
This comment’s verb, indicating what action was performed. Possible values are:
- “post” - Publish content to the stream.
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>,
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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