pub struct RawComment {
pub id: String,
pub database_id: Option<i64>,
pub body: String,
pub url: String,
pub created_at: String,
pub diff_hunk: String,
pub is_minimized: bool,
pub author_association: String,
pub author: Option<Author>,
}Fields§
§id: String§database_id: Option<i64>§body: String§url: String§created_at: String§diff_hunk: String§is_minimized: boolNull when the account was deleted.
Implementations§
Trait Implementations§
Source§impl Clone for RawComment
impl Clone for RawComment
Source§fn clone(&self) -> RawComment
fn clone(&self) -> RawComment
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 RawComment
impl Debug for RawComment
Source§impl Default for RawComment
impl Default for RawComment
Source§fn default() -> RawComment
fn default() -> RawComment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RawComment
impl<'de> Deserialize<'de> for RawComment
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 RawComment
impl RefUnwindSafe for RawComment
impl Send for RawComment
impl Sync for RawComment
impl Unpin for RawComment
impl UnsafeUnpin for RawComment
impl UnwindSafe for RawComment
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