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 Clone for UserEssentials
impl Clone for UserEssentials
Source§fn clone(&self) -> UserEssentials
fn clone(&self) -> UserEssentials
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 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§impl Serialize for UserEssentials
impl Serialize for UserEssentials
impl Eq for UserEssentials
impl StructuralPartialEq for UserEssentials
Auto Trait Implementations§
impl Freeze for UserEssentials
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