pub struct ChatMessage {
pub id: i32,
pub token_address: String,
pub reply_address: Option<String>,
pub comment: String,
pub code: Option<String>,
pub date: String,
pub network: String,
}Expand description
A comment posted by a user on a token page.
Fields§
§id: i32Internal message id.
token_address: StringToken the comment was posted on.
reply_address: Option<String>Address replied to. Always None on this endpoint.
comment: StringComment body.
code: Option<String>Optional attached code/snippet reference.
date: StringPost time, RFC-3339 (unlike most timestamps on this API, which are UNIX seconds).
network: StringChain slug.
Trait Implementations§
Source§impl Clone for ChatMessage
impl Clone for ChatMessage
Source§impl Debug for ChatMessage
impl Debug for ChatMessage
Source§impl<'de> Deserialize<'de> for ChatMessage
impl<'de> Deserialize<'de> for ChatMessage
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
Auto Trait Implementations§
impl Freeze for ChatMessage
impl RefUnwindSafe for ChatMessage
impl Send for ChatMessage
impl Sync for ChatMessage
impl Unpin for ChatMessage
impl UnsafeUnpin for ChatMessage
impl UnwindSafe for ChatMessage
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