pub struct PostedReply {
pub comment_id: String,
pub content: String,
}Expand description
A reply already posted to Google, recorded so push does not post it again.
The operator authors a reply as a **** REPLY subheading under a comment; once
push posts it via replies.create, this record (keyed by comment id + the
reply text) keeps the post idempotent without rewriting the operator’s text
(A3). Editing a posted reply’s text changes the key and re-posts it.
Fields§
§comment_id: StringThe :COMMENT_ID: of the comment the reply answers.
content: StringThe reply text as authored (the match key).
Trait Implementations§
Source§impl Clone for PostedReply
impl Clone for PostedReply
Source§fn clone(&self) -> PostedReply
fn clone(&self) -> PostedReply
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PostedReply
impl Debug for PostedReply
impl Eq for PostedReply
Source§impl PartialEq for PostedReply
impl PartialEq for PostedReply
impl StructuralPartialEq for PostedReply
Auto Trait Implementations§
impl Freeze for PostedReply
impl RefUnwindSafe for PostedReply
impl Send for PostedReply
impl Sync for PostedReply
impl Unpin for PostedReply
impl UnsafeUnpin for PostedReply
impl UnwindSafe for PostedReply
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.