pub struct RoleEssentials {
pub id: u64,
pub name: String,
pub inherited: Option<bool>,
}
Expand description
a minimal type for Redmine roles used in lists of roles included in other Redmine objects (e.g. custom fields) and also in the global ListRoles endpoint (unlike most other Redmine API objects)
Fields§
§id: u64
numeric id
name: String
display name
inherited: Option<bool>
true if this role is inherited from a parent project, used e.g. in project memberships
Trait Implementations§
Source§impl Clone for RoleEssentials
impl Clone for RoleEssentials
Source§fn clone(&self) -> RoleEssentials
fn clone(&self) -> RoleEssentials
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 RoleEssentials
impl Debug for RoleEssentials
Source§impl<'de> Deserialize<'de> for RoleEssentials
impl<'de> Deserialize<'de> for RoleEssentials
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 PartialEq for RoleEssentials
impl PartialEq for RoleEssentials
Source§impl Serialize for RoleEssentials
impl Serialize for RoleEssentials
impl Eq for RoleEssentials
impl StructuralPartialEq for RoleEssentials
Auto Trait Implementations§
impl Freeze for RoleEssentials
impl RefUnwindSafe for RoleEssentials
impl Send for RoleEssentials
impl Sync for RoleEssentials
impl Unpin for RoleEssentials
impl UnwindSafe for RoleEssentials
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