pub struct Scope<I: Clone + Default> {
pub items: HashMap<String, I>,
}Fields§
§items: HashMap<String, I>Implementations§
Trait Implementations§
Source§impl<A> From<&dyn Prr<A>> for Scope<TypedValue>
Create a scope that contains the values of the MEL core variables present in an HTTP request.
impl<A> From<&dyn Prr<A>> for Scope<TypedValue>
Create a scope that contains the values of the MEL core variables present in an HTTP request.
Source§impl<A> From<Request<A>> for Scope<Type>
Create a scope that contains the types of only the MEL core variables present in an HTTP request.
impl<A> From<Request<A>> for Scope<Type>
Create a scope that contains the types of only the MEL core variables present in an HTTP request.
Auto Trait Implementations§
impl<I> Freeze for Scope<I>
impl<I> RefUnwindSafe for Scope<I>where
I: RefUnwindSafe,
impl<I> Send for Scope<I>where
I: Send,
impl<I> Sync for Scope<I>where
I: Sync,
impl<I> Unpin for Scope<I>where
I: Unpin,
impl<I> UnsafeUnpin for Scope<I>
impl<I> UnwindSafe for Scope<I>where
I: UnwindSafe,
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