Struct google_plusdomains1::api::Comment
source · [−]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<String>,
pub self_link: Option<String>,
pub updated: Option<String>,
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<String>
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<String>
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
sourceimpl<'de> Deserialize<'de> for Comment
impl<'de> Deserialize<'de> for Comment
sourcefn 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 Resource for Comment
impl ResponseResult 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more