Struct redmine_api::api::enumerations::DocumentCategoryEssentials
source · pub struct DocumentCategoryEssentials {
pub id: u64,
pub name: String,
}
Expand description
a minimal type for Redmine document categories included in other Redmine objects
Fields§
§id: u64
numeric id
name: String
display name
Trait Implementations§
source§impl Debug for DocumentCategoryEssentials
impl Debug for DocumentCategoryEssentials
source§impl<'de> Deserialize<'de> for DocumentCategoryEssentials
impl<'de> Deserialize<'de> for DocumentCategoryEssentials
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<&DocumentCategory> for DocumentCategoryEssentials
impl From<&DocumentCategory> for DocumentCategoryEssentials
source§fn from(v: &DocumentCategory) -> Self
fn from(v: &DocumentCategory) -> Self
Converts to this type from the input type.
source§impl From<DocumentCategory> for DocumentCategoryEssentials
impl From<DocumentCategory> for DocumentCategoryEssentials
source§fn from(v: DocumentCategory) -> Self
fn from(v: DocumentCategory) -> Self
Converts to this type from the input type.
source§impl PartialEq for DocumentCategoryEssentials
impl PartialEq for DocumentCategoryEssentials
source§fn eq(&self, other: &DocumentCategoryEssentials) -> bool
fn eq(&self, other: &DocumentCategoryEssentials) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DocumentCategoryEssentials
impl StructuralEq for DocumentCategoryEssentials
impl StructuralPartialEq for DocumentCategoryEssentials
Auto Trait Implementations§
impl RefUnwindSafe for DocumentCategoryEssentials
impl Send for DocumentCategoryEssentials
impl Sync for DocumentCategoryEssentials
impl Unpin for DocumentCategoryEssentials
impl UnwindSafe for DocumentCategoryEssentials
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.