pub struct ProfileAttrs {
pub id_tag: Box<str>,
pub profile_type: Box<str>,
pub tenant_tag: Box<str>,
pub roles: Vec<Box<str>>,
pub status: Box<str>,
pub following: bool,
pub connected: bool,
pub visibility: Box<str>,
}Expand description
Profile attributes for ABAC
Fields§
§id_tag: Box<str>§profile_type: Box<str>§tenant_tag: Box<str>§roles: Vec<Box<str>>§status: Box<str>§following: bool§connected: bool§visibility: Box<str>Trait Implementations§
Source§impl AttrSet for ProfileAttrs
impl AttrSet for ProfileAttrs
Source§impl Clone for ProfileAttrs
impl Clone for ProfileAttrs
Source§fn clone(&self) -> ProfileAttrs
fn clone(&self) -> ProfileAttrs
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ProfileAttrs
impl RefUnwindSafe for ProfileAttrs
impl Send for ProfileAttrs
impl Sync for ProfileAttrs
impl Unpin for ProfileAttrs
impl UnsafeUnpin for ProfileAttrs
impl UnwindSafe for ProfileAttrs
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