pub struct IssueCategory {
pub id: u64,
pub name: String,
pub project: ProjectEssentials,
pub assigned_to: Option<AssigneeEssentials>,
}
Expand description
a type for issue categories to use as an API return type
alternatively you can use your own type limited to the fields you need
Fields§
§id: u64
numeric id
name: String
display name
project: ProjectEssentials
project
assigned_to: Option<AssigneeEssentials>
issues in this category are assigned to this user or group by default
Trait Implementations§
Source§impl Clone for IssueCategory
impl Clone for IssueCategory
Source§fn clone(&self) -> IssueCategory
fn clone(&self) -> IssueCategory
Returns a copy 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 IssueCategory
impl Debug for IssueCategory
Source§impl<'de> Deserialize<'de> for IssueCategory
impl<'de> Deserialize<'de> for IssueCategory
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<&IssueCategory> for IssueCategoryEssentials
impl From<&IssueCategory> for IssueCategoryEssentials
Source§fn from(v: &IssueCategory) -> Self
fn from(v: &IssueCategory) -> Self
Converts to this type from the input type.
Source§impl From<IssueCategory> for IssueCategoryEssentials
impl From<IssueCategory> for IssueCategoryEssentials
Source§fn from(v: IssueCategory) -> Self
fn from(v: IssueCategory) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IssueCategory
impl PartialEq for IssueCategory
Source§impl Serialize for IssueCategory
impl Serialize for IssueCategory
impl Eq for IssueCategory
impl StructuralPartialEq for IssueCategory
Auto Trait Implementations§
impl Freeze for IssueCategory
impl RefUnwindSafe for IssueCategory
impl Send for IssueCategory
impl Sync for IssueCategory
impl Unpin for IssueCategory
impl UnwindSafe for IssueCategory
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