Struct redmine_api::api::issue_categories::IssueCategoryEssentials
source · pub struct IssueCategoryEssentials {
pub id: u64,
pub name: String,
}
Expand description
a minimal type for Redmine issue categories used in other Redmine objects (e.g. issue)
Fields§
§id: u64
numeric id
name: String
display name
Trait Implementations§
source§impl Debug for IssueCategoryEssentials
impl Debug for IssueCategoryEssentials
source§impl<'de> Deserialize<'de> for IssueCategoryEssentials
impl<'de> Deserialize<'de> for IssueCategoryEssentials
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 IssueCategoryEssentials
impl PartialEq for IssueCategoryEssentials
source§fn eq(&self, other: &IssueCategoryEssentials) -> bool
fn eq(&self, other: &IssueCategoryEssentials) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for IssueCategoryEssentials
impl Serialize for IssueCategoryEssentials
impl Eq for IssueCategoryEssentials
impl StructuralPartialEq for IssueCategoryEssentials
Auto Trait Implementations§
impl RefUnwindSafe for IssueCategoryEssentials
impl Send for IssueCategoryEssentials
impl Sync for IssueCategoryEssentials
impl Unpin for IssueCategoryEssentials
impl UnwindSafe for IssueCategoryEssentials
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.