pub struct ObjectRole {
pub name: String,
pub description: Option<String>,
}Fields§
§name: String§description: Option<String>Trait Implementations§
Source§impl Clone for ObjectRole
impl Clone for ObjectRole
Source§fn clone(&self) -> ObjectRole
fn clone(&self) -> ObjectRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ObjectRole
impl Debug for ObjectRole
Source§impl PartialEq for ObjectRole
impl PartialEq for ObjectRole
Source§fn eq(&self, other: &ObjectRole) -> bool
fn eq(&self, other: &ObjectRole) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ObjectRole
Auto Trait Implementations§
impl Freeze for ObjectRole
impl RefUnwindSafe for ObjectRole
impl Send for ObjectRole
impl Sync for ObjectRole
impl Unpin for ObjectRole
impl UnsafeUnpin for ObjectRole
impl UnwindSafe for ObjectRole
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