pub struct RoleSelection { /* private fields */ }Expand description
A validated, non-empty set of runtime roles.
Implementations§
Source§impl RoleSelection
impl RoleSelection
Sourcepub fn parse(value: &str) -> Result<Self, RoleParseError>
pub fn parse(value: &str) -> Result<Self, RoleParseError>
Parses all or a comma-separated role list.
Sourcepub fn display_list(&self) -> String
pub fn display_list(&self) -> String
Returns a stable comma-separated representation.
Trait Implementations§
Source§impl Clone for RoleSelection
impl Clone for RoleSelection
Source§impl Debug for RoleSelection
impl Debug for RoleSelection
Source§impl Default for RoleSelection
impl Default for RoleSelection
impl Eq for RoleSelection
Source§impl PartialEq for RoleSelection
impl PartialEq for RoleSelection
impl StructuralPartialEq for RoleSelection
Auto Trait Implementations§
impl Freeze for RoleSelection
impl RefUnwindSafe for RoleSelection
impl Send for RoleSelection
impl Sync for RoleSelection
impl Unpin for RoleSelection
impl UnsafeUnpin for RoleSelection
impl UnwindSafe for RoleSelection
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