pub struct TeamParent {
pub description: Option<String>,
pub html_url: String,
pub id: i64,
pub members_url: String,
pub name: String,
pub node_id: String,
pub notification_setting: Option<TeamParentNotificationSetting>,
pub permission: String,
pub privacy: TeamParentPrivacy,
pub repositories_url: String,
pub slug: String,
pub url: String,
}
Expand description
TeamParent
JSON schema
{
"type": "object",
"required": [
"description",
"html_url",
"id",
"members_url",
"name",
"node_id",
"permission",
"privacy",
"repositories_url",
"slug",
"url"
],
"properties": {
"description": {
"description": "Description of the team",
"type": [
"string",
"null"
]
},
"html_url": {
"type": "string",
"format": "uri"
},
"id": {
"description": "Unique identifier of the team",
"type": "integer"
},
"members_url": {
"type": "string",
"format": "uri-template"
},
"name": {
"description": "Name of the team",
"type": "string"
},
"node_id": {
"type": "string"
},
"notification_setting": {
"description": "Whether team members will receive notifications when their team is @mentioned",
"type": "string",
"enum": [
"notifications_enabled",
"notifications_disabled"
]
},
"permission": {
"description": "Permission that the team will have for its repositories",
"type": "string"
},
"privacy": {
"type": "string",
"enum": [
"open",
"closed",
"secret"
]
},
"repositories_url": {
"type": "string",
"format": "uri"
},
"slug": {
"type": "string"
},
"url": {
"description": "URL for the team",
"type": "string",
"format": "uri"
}
},
"additionalProperties": false
}
Fields§
§description: Option<String>
Description of the team
html_url: String
§id: i64
Unique identifier of the team
members_url: String
§name: String
Name of the team
node_id: String
§notification_setting: Option<TeamParentNotificationSetting>
Whether team members will receive notifications when their team is @mentioned
permission: String
Permission that the team will have for its repositories
privacy: TeamParentPrivacy
§repositories_url: String
§slug: String
§url: String
URL for the team
Implementations§
Source§impl TeamParent
impl TeamParent
pub fn builder() -> TeamParent
Trait Implementations§
Source§impl Clone for TeamParent
impl Clone for TeamParent
Source§fn clone(&self) -> TeamParent
fn clone(&self) -> TeamParent
Returns a duplicate 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 TeamParent
impl Debug for TeamParent
Source§impl<'de> Deserialize<'de> for TeamParent
impl<'de> Deserialize<'de> for TeamParent
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 From<&TeamParent> for TeamParent
impl From<&TeamParent> for TeamParent
Source§fn from(value: &TeamParent) -> Self
fn from(value: &TeamParent) -> Self
Converts to this type from the input type.
Source§impl From<TeamParent> for TeamParent
impl From<TeamParent> for TeamParent
Source§fn from(value: TeamParent) -> Self
fn from(value: TeamParent) -> Self
Converts to this type from the input type.
Source§impl Serialize for TeamParent
impl Serialize for TeamParent
Source§impl TryFrom<TeamParent> for TeamParent
impl TryFrom<TeamParent> for TeamParent
Auto Trait Implementations§
impl Freeze for TeamParent
impl RefUnwindSafe for TeamParent
impl Send for TeamParent
impl Sync for TeamParent
impl Unpin for TeamParent
impl UnwindSafe for TeamParent
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