pub struct Project {Show 15 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: Option<Box<NullableSimpleUser>>,
pub created_at: String,
pub updated_at: String,
pub organization_permission: Option<OrganizationPermission>,
pub private: Option<bool>,
}
Expand description
Project : Projects are a way to organize columns and cards of work.
Fields§
§owner_url: String
§url: String
§html_url: String
§columns_url: String
§id: i32
§node_id: String
§name: String
Name of the project
body: Option<String>
Body of the project
number: i32
§state: String
State of the project; either ‘open’ or ‘closed’
creator: Option<Box<NullableSimpleUser>>
§created_at: String
§updated_at: String
§organization_permission: Option<OrganizationPermission>
The baseline permission that all organization members have on this project. Only present if owner is an organization.
private: Option<bool>
Whether or not this project can be seen by everyone. Only present if owner is an organization.
Implementations§
Source§impl Project
impl Project
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: Option<NullableSimpleUser>,
created_at: String,
updated_at: String,
) -> Project
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: Option<NullableSimpleUser>, created_at: String, updated_at: String, ) -> Project
Projects are a way to organize columns and cards of work.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Project
impl<'de> Deserialize<'de> for Project
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 Project
Auto Trait Implementations§
impl Freeze for Project
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnwindSafe for Project
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