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