pub struct BaseGist {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<Box<SimpleUser>>,
pub truncated: Option<bool>,
pub forks: Option<Vec<Value>>,
pub history: Option<Vec<Value>>,
}
Expand description
BaseGist : Base 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<Box<SimpleUser>>
§truncated: Option<bool>
§forks: Option<Vec<Value>>
§history: Option<Vec<Value>>
Implementations§
Source§impl BaseGist
impl BaseGist
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,
) -> BaseGist
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, ) -> BaseGist
Base Gist
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BaseGist
impl<'de> Deserialize<'de> for BaseGist
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 BaseGist
Auto Trait Implementations§
impl Freeze for BaseGist
impl RefUnwindSafe for BaseGist
impl Send for BaseGist
impl Sync for BaseGist
impl Unpin for BaseGist
impl UnwindSafe for BaseGist
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