Enum oasis_runtime_sdk::modules::access::types::Authorization
source · pub enum Authorization {
FilterOnly(Methods),
}
Expand description
A specific kind of access control.
Variants§
FilterOnly(Methods)
Control a statically configured set of methods, each with a statically configured set of addresses that are allowed to call it.
Implementations§
source§impl Authorization
impl Authorization
sourcepub fn with_filtered_methods<S, I>(it: I) -> Self
pub fn with_filtered_methods<S, I>(it: I) -> Self
Helper for creating a static access control configuration.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Authorization
impl RefUnwindSafe for Authorization
impl Send for Authorization
impl Sync for Authorization
impl Unpin for Authorization
impl UnwindSafe for Authorization
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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