pub struct ProjectsV2Item {
pub id: f64,
pub node_id: Option<String>,
pub project_node_id: Option<String>,
pub content_node_id: String,
pub content_type: ProjectsV2ItemContentType,
pub creator: Option<Box<SimpleUser>>,
pub created_at: String,
pub updated_at: String,
pub archived_at: Option<String>,
}
Expand description
ProjectsV2Item : An item belonging to a project
Fields§
§id: f64
§node_id: Option<String>
§project_node_id: Option<String>
§content_node_id: String
§content_type: ProjectsV2ItemContentType
§creator: Option<Box<SimpleUser>>
§created_at: String
§updated_at: String
§archived_at: Option<String>
Implementations§
Source§impl ProjectsV2Item
impl ProjectsV2Item
Sourcepub fn new(
id: f64,
content_node_id: String,
content_type: ProjectsV2ItemContentType,
created_at: String,
updated_at: String,
archived_at: Option<String>,
) -> ProjectsV2Item
pub fn new( id: f64, content_node_id: String, content_type: ProjectsV2ItemContentType, created_at: String, updated_at: String, archived_at: Option<String>, ) -> ProjectsV2Item
An item belonging to a project
Trait Implementations§
Source§impl Clone for ProjectsV2Item
impl Clone for ProjectsV2Item
Source§fn clone(&self) -> ProjectsV2Item
fn clone(&self) -> ProjectsV2Item
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 ProjectsV2Item
impl Debug for ProjectsV2Item
Source§impl Default for ProjectsV2Item
impl Default for ProjectsV2Item
Source§fn default() -> ProjectsV2Item
fn default() -> ProjectsV2Item
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectsV2Item
impl<'de> Deserialize<'de> for ProjectsV2Item
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 ProjectsV2Item
impl PartialEq for ProjectsV2Item
Source§impl Serialize for ProjectsV2Item
impl Serialize for ProjectsV2Item
impl StructuralPartialEq for ProjectsV2Item
Auto Trait Implementations§
impl Freeze for ProjectsV2Item
impl RefUnwindSafe for ProjectsV2Item
impl Send for ProjectsV2Item
impl Sync for ProjectsV2Item
impl Unpin for ProjectsV2Item
impl UnwindSafe for ProjectsV2Item
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