pub struct ProjectsV2 {Show 14 fields
pub id: f64,
pub node_id: String,
pub owner: Box<SimpleUser>,
pub creator: Box<SimpleUser>,
pub title: String,
pub description: Option<String>,
pub public: bool,
pub closed_at: Option<String>,
pub created_at: String,
pub updated_at: String,
pub number: i32,
pub short_description: Option<String>,
pub deleted_at: Option<String>,
pub deleted_by: Option<Box<NullableSimpleUser>>,
}
Expand description
ProjectsV2 : A projects v2 project
Fields§
§id: f64
§node_id: String
§owner: Box<SimpleUser>
§creator: Box<SimpleUser>
§title: String
§description: Option<String>
§public: bool
§closed_at: Option<String>
§created_at: String
§updated_at: String
§number: i32
§short_description: Option<String>
§deleted_at: Option<String>
§deleted_by: Option<Box<NullableSimpleUser>>
Implementations§
Source§impl ProjectsV2
impl ProjectsV2
Sourcepub fn new(
id: f64,
node_id: String,
owner: SimpleUser,
creator: SimpleUser,
title: String,
description: Option<String>,
public: bool,
closed_at: Option<String>,
created_at: String,
updated_at: String,
number: i32,
short_description: Option<String>,
deleted_at: Option<String>,
deleted_by: Option<NullableSimpleUser>,
) -> ProjectsV2
pub fn new( id: f64, node_id: String, owner: SimpleUser, creator: SimpleUser, title: String, description: Option<String>, public: bool, closed_at: Option<String>, created_at: String, updated_at: String, number: i32, short_description: Option<String>, deleted_at: Option<String>, deleted_by: Option<NullableSimpleUser>, ) -> ProjectsV2
A projects v2 project
Trait Implementations§
Source§impl Clone for ProjectsV2
impl Clone for ProjectsV2
Source§fn clone(&self) -> ProjectsV2
fn clone(&self) -> ProjectsV2
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 ProjectsV2
impl Debug for ProjectsV2
Source§impl Default for ProjectsV2
impl Default for ProjectsV2
Source§fn default() -> ProjectsV2
fn default() -> ProjectsV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectsV2
impl<'de> Deserialize<'de> for ProjectsV2
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 ProjectsV2
impl PartialEq for ProjectsV2
Source§impl Serialize for ProjectsV2
impl Serialize for ProjectsV2
impl StructuralPartialEq for ProjectsV2
Auto Trait Implementations§
impl Freeze for ProjectsV2
impl RefUnwindSafe for ProjectsV2
impl Send for ProjectsV2
impl Sync for ProjectsV2
impl Unpin for ProjectsV2
impl UnwindSafe for ProjectsV2
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