Struct ValidationContext
pub struct ValidationContext<'i> { /* private fields */ }
Give access to user input.
Implementations
impl<'i> ValidationContext<'i>
fn input(&self) -> &strReturns user input.
Auto Trait Implementations
impl<'i> !RefUnwindSafe for ValidationContext<'i>
impl<'i> !Send for ValidationContext<'i>
impl<'i> !Sync for ValidationContext<'i>
impl<'i> !UnwindSafe for ValidationContext<'i>
impl<'i> Freeze for ValidationContext<'i>
impl<'i> Unpin for ValidationContext<'i>
impl<'i> UnsafeUnpin for ValidationContext<'i>
Blanket Implementations
impl<T> Any for ValidationContext<'i>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for ValidationContext<'i>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for ValidationContext<'i>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for ValidationContext<'i>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for ValidationContext<'i>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for ValidationContext<'i>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for ValidationContext<'i>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>