pub struct RemoteComment {
pub id: String,
pub author: String,
pub created: String,
pub body: String,
pub finding: Option<String>,
}Expand description
One comment in a thread. reply_to is None on the root.
Fields§
§id: String§created: StringAs the forge gives it, ISO 8601. Shown as its date, never parsed for anything else.
body: String§finding: Option<String>The finding this comment was published from, when its body carried
the marker with_marker writes. What makes a publish idempotent: a
comment that says which finding it is can be matched without trusting
the forge’s answer to the publish itself.
Trait Implementations§
Source§impl Clone for RemoteComment
impl Clone for RemoteComment
Source§impl Debug for RemoteComment
impl Debug for RemoteComment
Source§impl<'de> Deserialize<'de> for RemoteComment
impl<'de> Deserialize<'de> for RemoteComment
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 RemoteComment
Source§impl PartialEq for RemoteComment
impl PartialEq for RemoteComment
Source§impl Serialize for RemoteComment
impl Serialize for RemoteComment
impl StructuralPartialEq for RemoteComment
Auto Trait Implementations§
impl Freeze for RemoteComment
impl RefUnwindSafe for RemoteComment
impl Send for RemoteComment
impl Sync for RemoteComment
impl Unpin for RemoteComment
impl UnsafeUnpin for RemoteComment
impl UnwindSafe for RemoteComment
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,
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§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.