Struct github_rest::model::gists::SimpleGist
source · pub struct SimpleGist {Show 16 fields
pub id: String,
pub node_id: String,
pub url: String,
pub forks_url: String,
pub commits_url: String,
pub git_pull_url: String,
pub git_push_url: String,
pub html_url: String,
pub comments_url: String,
pub public: bool,
pub description: Option<String>,
pub comments: usize,
pub user: Option<SimpleUser>,
pub files: HashMap<String, File>,
pub created_at: String,
pub updated_at: String,
}
Expand description
Fields§
§id: String
§node_id: String
§url: String
§forks_url: String
§commits_url: String
§git_pull_url: String
§git_push_url: String
§html_url: String
§comments_url: String
§public: bool
§description: Option<String>
§comments: usize
§user: Option<SimpleUser>
§files: HashMap<String, File>
§created_at: String
§updated_at: String
Trait Implementations§
source§impl AsRef<SimpleGist> for Gist
impl AsRef<SimpleGist> for Gist
source§fn as_ref(&self) -> &SimpleGist
fn as_ref(&self) -> &SimpleGist
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for SimpleGist
impl Clone for SimpleGist
source§fn clone(&self) -> SimpleGist
fn clone(&self) -> SimpleGist
Returns a copy of the value. Read more
1.0.0 · 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 SimpleGist
impl Debug for SimpleGist
source§impl Default for SimpleGist
impl Default for SimpleGist
source§fn default() -> SimpleGist
fn default() -> SimpleGist
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SimpleGist
impl<'de> Deserialize<'de> for SimpleGist
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
source§impl PartialEq<SimpleGist> for SimpleGist
impl PartialEq<SimpleGist> for SimpleGist
source§fn eq(&self, other: &SimpleGist) -> bool
fn eq(&self, other: &SimpleGist) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimpleGist
impl Serialize for SimpleGist
impl StructuralPartialEq for SimpleGist
Auto Trait Implementations§
impl RefUnwindSafe for SimpleGist
impl Send for SimpleGist
impl Sync for SimpleGist
impl Unpin for SimpleGist
impl UnwindSafe for SimpleGist
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