pub struct TeamProject {Show 16 fields
pub owner_url: String,
pub url: String,
pub html_url: String,
pub columns_url: String,
pub id: i32,
pub node_id: String,
pub name: String,
pub body: Option<String>,
pub number: i32,
pub state: String,
pub creator: Box<SimpleUser>,
pub created_at: String,
pub updated_at: String,
pub organization_permission: Option<String>,
pub private: Option<bool>,
pub permissions: Box<TeamProjectPermissions>,
}
Expand description
TeamProject : A team’s access to a project.
Fields§
§owner_url: String
§url: String
§html_url: String
§columns_url: String
§id: i32
§node_id: String
§name: String
§body: Option<String>
§number: i32
§state: String
§creator: Box<SimpleUser>
§created_at: String
§updated_at: String
§organization_permission: Option<String>
The organization permission for this project. Only present when owner is an organization.
private: Option<bool>
Whether the project is private or not. Only present when owner is an organization.
permissions: Box<TeamProjectPermissions>
Implementations§
Source§impl TeamProject
impl TeamProject
Sourcepub fn new(
owner_url: String,
url: String,
html_url: String,
columns_url: String,
id: i32,
node_id: String,
name: String,
body: Option<String>,
number: i32,
state: String,
creator: SimpleUser,
created_at: String,
updated_at: String,
permissions: TeamProjectPermissions,
) -> TeamProject
pub fn new( owner_url: String, url: String, html_url: String, columns_url: String, id: i32, node_id: String, name: String, body: Option<String>, number: i32, state: String, creator: SimpleUser, created_at: String, updated_at: String, permissions: TeamProjectPermissions, ) -> TeamProject
A team’s access to a project.
Trait Implementations§
Source§impl Clone for TeamProject
impl Clone for TeamProject
Source§fn clone(&self) -> TeamProject
fn clone(&self) -> TeamProject
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 TeamProject
impl Debug for TeamProject
Source§impl Default for TeamProject
impl Default for TeamProject
Source§fn default() -> TeamProject
fn default() -> TeamProject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TeamProject
impl<'de> Deserialize<'de> for TeamProject
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 for TeamProject
impl PartialEq for TeamProject
Source§impl Serialize for TeamProject
impl Serialize for TeamProject
impl StructuralPartialEq for TeamProject
Auto Trait Implementations§
impl Freeze for TeamProject
impl RefUnwindSafe for TeamProject
impl Send for TeamProject
impl Sync for TeamProject
impl Unpin for TeamProject
impl UnwindSafe for TeamProject
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