pub struct Gist {Show 17 fields
pub url: String,
pub forks_url: String,
pub commits_url: String,
pub id: String,
pub description: Option<String>,
pub public: bool,
pub owner: Option<User>,
pub user: Option<User>,
pub files: HashMap<String, GistFile>,
pub truncated: bool,
pub comments: u64,
pub comments_url: String,
pub html_url: String,
pub git_pull_url: String,
pub git_push_url: String,
pub created_at: String,
pub updated_at: String,
}
Fields
url: String
forks_url: String
commits_url: String
id: String
description: Option<String>
public: bool
owner: Option<User>
user: Option<User>
files: HashMap<String, GistFile>
truncated: bool
comments: u64
comments_url: String
html_url: String
git_pull_url: String
git_push_url: String
created_at: String
updated_at: String
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Gist
impl<'de> Deserialize<'de> for Gist
sourcefn 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 Gist
impl Send for Gist
impl Sync for Gist
impl Unpin for Gist
impl UnwindSafe for Gist
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more