Struct scratchstack_aspen::Context
source · [−]pub struct Context { /* private fields */ }
Implementations
sourceimpl Context
impl Context
pub fn builder() -> ContextBuilder
pub fn action(&self) -> &str
pub fn actor(&self) -> &Principal
pub fn resources(&self) -> &Vec<Arn>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn session_data(&self) -> &SessionData
pub fn service(&self) -> &str
pub fn matcher<T: AsRef<str>>(
&self,
s: T,
pv: PolicyVersion
) -> Result<RegexBuilder, AspenError>
pub fn subst_vars(&self, s: &str) -> Result<RegexBuilder, AspenError>
pub fn subst_vars_plain(&self, s: &str) -> Result<String, AspenError>
Trait Implementations
impl Eq for Context
impl StructuralEq for Context
impl StructuralPartialEq for Context
Auto Trait Implementations
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more