pub struct ReplyMarker {
pub in_reply_to: CommentId,
pub key: String,
pub label: Option<String>,
}Expand description
The hidden last line of every reply this crate posts, parsed.
Written as <!-- onevcs:reply in-reply-to=<comment id> key=<key> [label=<label>] -->.
Fields§
§in_reply_to: CommentIdThe comment the reply answers.
key: StringThe caller’s idempotency key.
label: Option<String>The caller’s label for the reply, where it gave one.
Trait Implementations§
Source§impl Clone for ReplyMarker
impl Clone for ReplyMarker
Source§impl Debug for ReplyMarker
impl Debug for ReplyMarker
Source§impl<'de> Deserialize<'de> for ReplyMarker
impl<'de> Deserialize<'de> for ReplyMarker
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 Eq for ReplyMarker
Source§impl PartialEq for ReplyMarker
impl PartialEq for ReplyMarker
Source§impl Serialize for ReplyMarker
impl Serialize for ReplyMarker
impl StructuralPartialEq for ReplyMarker
Auto Trait Implementations§
impl Freeze for ReplyMarker
impl RefUnwindSafe for ReplyMarker
impl Send for ReplyMarker
impl Sync for ReplyMarker
impl Unpin for ReplyMarker
impl UnsafeUnpin for ReplyMarker
impl UnwindSafe for ReplyMarker
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.