pub struct Held {
pub resource: String,
pub action: String,
pub verbs_only: bool,
pub legacy: Option<LegacySpelling>,
}Expand description
A held permission read into its parts.
Fields§
§resource: StringThe resource half (* for any).
action: StringThe action half (* for any).
verbs_only: boolFor a legacy transition name, the permission covers only verbs, never generic actions.
legacy: Option<LegacySpelling>How it was spelled when that is not canonical.
Implementations§
Trait Implementations§
impl Eq for Held
impl StructuralPartialEq for Held
Auto Trait Implementations§
impl Freeze for Held
impl RefUnwindSafe for Held
impl Send for Held
impl Sync for Held
impl Unpin for Held
impl UnsafeUnpin for Held
impl UnwindSafe for Held
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