pub struct RolePriorityInfo<'a> {
pub role: Option<Cow<'a, str>>,
pub priority: u32,
}
Expand description
Role priority information.
Fields§
§role: Option<Cow<'a, str>>
Role name
priority: u32
Priority
Implementations§
Source§impl RolePriorityInfo<'_>
impl RolePriorityInfo<'_>
Sourcepub fn to_owned(&self) -> RolePriorityInfo<'static>
pub fn to_owned(&self) -> RolePriorityInfo<'static>
Creates a copy with owned data.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RolePriorityInfo<'a>
impl<'a> RefUnwindSafe for RolePriorityInfo<'a>
impl<'a> Send for RolePriorityInfo<'a>
impl<'a> Sync for RolePriorityInfo<'a>
impl<'a> Unpin for RolePriorityInfo<'a>
impl<'a> UnwindSafe for RolePriorityInfo<'a>
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