pub struct ExecutionPermitScope { /* private fields */ }Implementations§
Source§impl ExecutionPermitScope
impl ExecutionPermitScope
Sourcepub fn target_key(&self) -> &str
pub fn target_key(&self) -> &str
Returns the concrete target key covered by the permit.
Sourcepub fn method(&self) -> CheckMethod
pub fn method(&self) -> CheckMethod
Returns the verification method covered by the permit.
Sourcepub fn promotion_class(&self) -> PromotionClass
pub fn promotion_class(&self) -> PromotionClass
Returns the promotion class covered by the permit.
Trait Implementations§
Source§impl Clone for ExecutionPermitScope
impl Clone for ExecutionPermitScope
Source§fn clone(&self) -> ExecutionPermitScope
fn clone(&self) -> ExecutionPermitScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecutionPermitScope
impl Debug for ExecutionPermitScope
impl Eq for ExecutionPermitScope
Source§impl PartialEq for ExecutionPermitScope
impl PartialEq for ExecutionPermitScope
Source§fn eq(&self, other: &ExecutionPermitScope) -> bool
fn eq(&self, other: &ExecutionPermitScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExecutionPermitScope
Auto Trait Implementations§
impl Freeze for ExecutionPermitScope
impl RefUnwindSafe for ExecutionPermitScope
impl Send for ExecutionPermitScope
impl Sync for ExecutionPermitScope
impl Unpin for ExecutionPermitScope
impl UnsafeUnpin for ExecutionPermitScope
impl UnwindSafe for ExecutionPermitScope
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