pub struct Gist {Show 20 fields
pub url: String,
pub forks_url: String,
pub commits_url: String,
pub id: String,
pub node_id: String,
pub git_pull_url: String,
pub git_push_url: String,
pub html_url: String,
pub files: HashMap<String, BaseGistFilesValue>,
pub public: bool,
pub created_at: String,
pub updated_at: String,
pub description: Option<String>,
pub comments: i32,
pub user: Option<Box<NullableSimpleUser>>,
pub comments_url: String,
pub owner: Option<Option<Box<NullableSimpleUser>>>,
pub truncated: Option<bool>,
pub forks: Option<Vec<Value>>,
pub history: Option<Vec<Value>>,
}
Expand description
Gist : Gist
Fields§
§url: String
§forks_url: String
§commits_url: String
§id: String
§node_id: String
§git_pull_url: String
§git_push_url: String
§html_url: String
§files: HashMap<String, BaseGistFilesValue>
§public: bool
§created_at: String
§updated_at: String
§description: Option<String>
§comments: i32
§user: Option<Box<NullableSimpleUser>>
§comments_url: String
§owner: Option<Option<Box<NullableSimpleUser>>>
§truncated: Option<bool>
§forks: Option<Vec<Value>>
§history: Option<Vec<Value>>
Implementations§
Source§impl Gist
impl Gist
Sourcepub fn new(
url: String,
forks_url: String,
commits_url: String,
id: String,
node_id: String,
git_pull_url: String,
git_push_url: String,
html_url: String,
files: HashMap<String, BaseGistFilesValue>,
public: bool,
created_at: String,
updated_at: String,
description: Option<String>,
comments: i32,
user: Option<NullableSimpleUser>,
comments_url: String,
) -> Gist
pub fn new( url: String, forks_url: String, commits_url: String, id: String, node_id: String, git_pull_url: String, git_push_url: String, html_url: String, files: HashMap<String, BaseGistFilesValue>, public: bool, created_at: String, updated_at: String, description: Option<String>, comments: i32, user: Option<NullableSimpleUser>, comments_url: String, ) -> Gist
Gist
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Gist
impl<'de> Deserialize<'de> for Gist
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
impl StructuralPartialEq for Gist
Auto Trait Implementations§
impl Freeze for Gist
impl RefUnwindSafe for Gist
impl Send for Gist
impl Sync for Gist
impl Unpin for Gist
impl UnwindSafe for Gist
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