[−][src]Struct allow_me::DefaultSubstituter
Default implementation of Substituter
. It supports several useful variables:
any
- replaced by input value from the Request.identity
- replaced by identity value from the Request.operation
- replaced by operation value from the Request.
Trait Implementations
impl Debug for DefaultSubstituter
[src]
impl Substituter for DefaultSubstituter
[src]
type Context = ()
The type of the context associated with the request.
pub fn visit_identity(
&self,
value: &str,
context: &Request<Self::Context>
) -> Result<String, Error>
[src]
&self,
value: &str,
context: &Request<Self::Context>
) -> Result<String, Error>
pub fn visit_operation(
&self,
value: &str,
context: &Request<Self::Context>
) -> Result<String, Error>
[src]
&self,
value: &str,
context: &Request<Self::Context>
) -> Result<String, Error>
pub fn visit_resource(
&self,
value: &str,
context: &Request<Self::Context>
) -> Result<String, Error>
[src]
&self,
value: &str,
context: &Request<Self::Context>
) -> Result<String, Error>
Auto Trait Implementations
impl RefUnwindSafe for DefaultSubstituter
[src]
impl Send for DefaultSubstituter
[src]
impl Sync for DefaultSubstituter
[src]
impl Unpin for DefaultSubstituter
[src]
impl UnwindSafe for DefaultSubstituter
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,