Struct checked_rs::view::View
source · pub struct View<T: 'static, E, U: Validator<Item = T, Error = E>>(/* private fields */);
Implementations§
Trait Implementations§
source§impl<T: Clone + 'static, E: Clone, U: Clone + Validator<Item = T, Error = E>> Clone for View<T, E, U>
impl<T: Clone + 'static, E: Clone, U: Clone + Validator<Item = T, Error = E>> Clone for View<T, E, U>
source§impl<T: Default + 'static, E: Default, U: Default + Validator<Item = T, Error = E>> Default for View<T, E, U>
impl<T: Default + 'static, E: Default, U: Default + Validator<Item = T, Error = E>> Default for View<T, E, U>
source§impl<'de, T, E, U: Validator<Item = T, Error = E>> Deserialize<'de> for View<T, E, U>where
T: Deserialize<'de> + 'static,
impl<'de, T, E, U: Validator<Item = T, Error = E>> Deserialize<'de> for View<T, E, U>where
T: Deserialize<'de> + 'static,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T: Hash + 'static, E: Hash, U: Hash + Validator<Item = T, Error = E>> Hash for View<T, E, U>
impl<T: Hash + 'static, E: Hash, U: Hash + Validator<Item = T, Error = E>> Hash for View<T, E, U>
source§impl<T: Ord + 'static, E: Ord, U: Ord + Validator<Item = T, Error = E>> Ord for View<T, E, U>
impl<T: Ord + 'static, E: Ord, U: Ord + Validator<Item = T, Error = E>> Ord for View<T, E, U>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<T: PartialEq + 'static, E: PartialEq, U: PartialEq + Validator<Item = T, Error = E>> PartialEq for View<T, E, U>
impl<T: PartialEq + 'static, E: PartialEq, U: PartialEq + Validator<Item = T, Error = E>> PartialEq for View<T, E, U>
source§impl<T: PartialOrd + 'static, E: PartialOrd, U: PartialOrd + Validator<Item = T, Error = E>> PartialOrd for View<T, E, U>
impl<T: PartialOrd + 'static, E: PartialOrd, U: PartialOrd + Validator<Item = T, Error = E>> PartialOrd for View<T, E, U>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<T, E, U: Validator<Item = T, Error = E>> Serialize for View<T, E, U>where
T: Serialize + 'static,
impl<T, E, U: Validator<Item = T, Error = E>> Serialize for View<T, E, U>where
T: Serialize + 'static,
impl<T: Eq + 'static, E: Eq, U: Eq + Validator<Item = T, Error = E>> Eq for View<T, E, U>
impl<T: 'static, E, U: Validator<Item = T, Error = E>> StructuralPartialEq for View<T, E, U>
Auto Trait Implementations§
impl<T, E, U> Freeze for View<T, E, U>where
T: Freeze,
impl<T, E, U> RefUnwindSafe for View<T, E, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, E, U> Send for View<T, E, U>
impl<T, E, U> Sync for View<T, E, U>
impl<T, E, U> Unpin for View<T, E, U>
impl<T, E, U> UnwindSafe for View<T, E, U>where
T: UnwindSafe,
U: 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