pub struct GithubOrg {Show 20 fields
pub avatar_url: String,
pub email: (),
pub events_url: String,
pub followers_url: String,
pub following_url: String,
pub gists_url: String,
pub gravatar_id: String,
pub html_url: String,
pub id: i64,
pub login: String,
pub name: Option<String>,
pub node_id: String,
pub organizations_url: String,
pub received_events_url: String,
pub repos_url: String,
pub site_admin: bool,
pub starred_url: String,
pub subscriptions_url: String,
pub type_: String,
pub url: String,
}
Expand description
GithubOrg
JSON schema
{
"title": "GitHub Org",
"type": "object",
"required": [
"avatar_url",
"events_url",
"followers_url",
"following_url",
"gists_url",
"gravatar_id",
"html_url",
"id",
"login",
"node_id",
"organizations_url",
"received_events_url",
"repos_url",
"site_admin",
"starred_url",
"subscriptions_url",
"type",
"url"
],
"properties": {
"avatar_url": {
"type": "string",
"format": "uri",
"const": "https://avatars.githubusercontent.com/u/9919?v=4"
},
"email": {
"type": "null"
},
"events_url": {
"type": "string",
"format": "uri-template",
"const": "https://api.github.com/users/github/events{/privacy}"
},
"followers_url": {
"type": "string",
"format": "uri",
"const": "https://api.github.com/users/github/followers"
},
"following_url": {
"type": "string",
"format": "uri-template",
"const": "https://api.github.com/users/github/following{/other_user}"
},
"gists_url": {
"type": "string",
"format": "uri-template",
"const": "https://api.github.com/users/github/gists{/gist_id}"
},
"gravatar_id": {
"type": "string",
"const": ""
},
"html_url": {
"type": "string",
"format": "uri",
"const": "https://github.com/github"
},
"id": {
"type": "integer",
"const": 9919
},
"login": {
"type": "string",
"const": "github"
},
"name": {
"type": "string",
"const": "GitHub"
},
"node_id": {
"type": "string",
"const": "MDEyOk9yZ2FuaXphdGlvbjk5MTk="
},
"organizations_url": {
"type": "string",
"format": "uri",
"const": "https://api.github.com/users/github/orgs"
},
"received_events_url": {
"type": "string",
"format": "uri",
"const": "https://api.github.com/users/github/received_events"
},
"repos_url": {
"type": "string",
"format": "uri",
"const": "https://api.github.com/users/github/repos"
},
"site_admin": {
"type": "boolean",
"const": false
},
"starred_url": {
"type": "string",
"format": "uri-template",
"const": "https://api.github.com/users/github/starred{/owner}{/repo}"
},
"subscriptions_url": {
"type": "string",
"format": "uri",
"const": "https://api.github.com/users/github/subscriptions"
},
"type": {
"type": "string",
"const": "Organization"
},
"url": {
"type": "string",
"format": "uri",
"const": "https://api.github.com/users/github"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§avatar_url: String
§email: ()
§events_url: String
§followers_url: String
§following_url: String
§gists_url: String
§gravatar_id: String
§html_url: String
§id: i64
§login: String
§name: Option<String>
§node_id: String
§organizations_url: String
§received_events_url: String
§repos_url: String
§site_admin: bool
§starred_url: String
§subscriptions_url: String
§type_: String
§url: String
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GithubOrg
impl<'de> Deserialize<'de> for GithubOrg
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
Auto Trait Implementations§
impl Freeze for GithubOrg
impl RefUnwindSafe for GithubOrg
impl Send for GithubOrg
impl Sync for GithubOrg
impl Unpin for GithubOrg
impl UnwindSafe for GithubOrg
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