pub struct ProfileList {
pub items: Vec<ProfileView>,
pub roles: BTreeMap<String, String>,
}Expand description
Every profile (sorted by name) and the role assignments (role → profile id).
Fields§
§items: Vec<ProfileView>§roles: BTreeMap<String, String>Implementations§
Trait Implementations§
Source§impl Clone for ProfileList
impl Clone for ProfileList
Source§impl Debug for ProfileList
impl Debug for ProfileList
Source§impl Default for ProfileList
impl Default for ProfileList
Source§impl<'de> Deserialize<'de> for ProfileList
impl<'de> Deserialize<'de> for ProfileList
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 ProfileList
impl PartialEq for ProfileList
Source§impl Serialize for ProfileList
impl Serialize for ProfileList
impl StructuralPartialEq for ProfileList
Auto Trait Implementations§
impl Forget for ProfileList
impl Freeze for ProfileList
impl Move for ProfileList
impl RefUnwindSafe for ProfileList
impl Send for ProfileList
impl Sync for ProfileList
impl Unpin for ProfileList
impl UnsafeUnpin for ProfileList
impl UnwindSafe for ProfileList
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