Struct octorust::types::GistComment [−][src]
pub struct GistComment { pub author_association: AuthorAssociation, pub body: String, pub created_at: Option<DateTime<Utc>>, pub id: i64, pub node_id: String, pub updated_at: Option<DateTime<Utc>>, pub url: String, pub user: Option<SimpleUser>, }
Expand description
A comment made to a gist.
Fields
How the author is associated with the repository.
body: String
The comment text.
created_at: Option<DateTime<Utc>>
id: i64
node_id: String
updated_at: Option<DateTime<Utc>>
url: String
user: Option<SimpleUser>
Simple User
Trait Implementations
Returns the “default value” for a type. Read more
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 RefUnwindSafe for GistComment
impl Send for GistComment
impl Sync for GistComment
impl Unpin for GistComment
impl UnwindSafe for GistComment
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more