Struct debug_ignore::DebugIgnore
source · [−]#[repr(transparent)]pub struct DebugIgnore<T: ?Sized>(pub T);
Expand description
A newtype wrapper that causes the field within to be ignored while printing out Debug
output.
For more, see the crate documentation.
Tuple Fields
0: T
Trait Implementations
sourceimpl<T: Clone + ?Sized> Clone for DebugIgnore<T>
impl<T: Clone + ?Sized> Clone for DebugIgnore<T>
sourcefn clone(&self) -> DebugIgnore<T>
fn clone(&self) -> DebugIgnore<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<T: ?Sized> Debug for DebugIgnore<T>
impl<T: ?Sized> Debug for DebugIgnore<T>
The point of this struct.
sourceimpl<T: Default + ?Sized> Default for DebugIgnore<T>
impl<T: Default + ?Sized> Default for DebugIgnore<T>
sourcefn default() -> DebugIgnore<T>
fn default() -> DebugIgnore<T>
Returns the “default value” for a type. Read more
sourceimpl<T: ?Sized> Deref for DebugIgnore<T>
impl<T: ?Sized> Deref for DebugIgnore<T>
sourceimpl<T: ?Sized> DerefMut for DebugIgnore<T>
impl<T: ?Sized> DerefMut for DebugIgnore<T>
sourceimpl<'de, T: ?Sized> Deserialize<'de> for DebugIgnore<T>where
T: Deserialize<'de>,
impl<'de, T: ?Sized> Deserialize<'de> for DebugIgnore<T>where
T: Deserialize<'de>,
sourcefn 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
sourceimpl<T: ?Sized + Display> Display for DebugIgnore<T>
impl<T: ?Sized + Display> Display for DebugIgnore<T>
sourceimpl<T> From<T> for DebugIgnore<T>
impl<T> From<T> for DebugIgnore<T>
sourceimpl<T: FromStr> FromStr for DebugIgnore<T>
impl<T: FromStr> FromStr for DebugIgnore<T>
sourceimpl<T: Hash + ?Sized> Hash for DebugIgnore<T>
impl<T: Hash + ?Sized> Hash for DebugIgnore<T>
sourceimpl<T: Ord + ?Sized> Ord for DebugIgnore<T>
impl<T: Ord + ?Sized> Ord for DebugIgnore<T>
sourceimpl<T: PartialEq + ?Sized> PartialEq<DebugIgnore<T>> for DebugIgnore<T>
impl<T: PartialEq + ?Sized> PartialEq<DebugIgnore<T>> for DebugIgnore<T>
sourcefn eq(&self, other: &DebugIgnore<T>) -> bool
fn eq(&self, other: &DebugIgnore<T>) -> bool
sourceimpl<T: PartialOrd + ?Sized> PartialOrd<DebugIgnore<T>> for DebugIgnore<T>
impl<T: PartialOrd + ?Sized> PartialOrd<DebugIgnore<T>> for DebugIgnore<T>
sourcefn partial_cmp(&self, other: &DebugIgnore<T>) -> Option<Ordering>
fn partial_cmp(&self, other: &DebugIgnore<T>) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl<T: ?Sized> Serialize for DebugIgnore<T>where
T: Serialize,
impl<T: ?Sized> Serialize for DebugIgnore<T>where
T: Serialize,
impl<T: Copy + ?Sized> Copy for DebugIgnore<T>
impl<T: Eq + ?Sized> Eq for DebugIgnore<T>
impl<T: ?Sized> StructuralEq for DebugIgnore<T>
impl<T: ?Sized> StructuralPartialEq for DebugIgnore<T>
Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for DebugIgnore<T>where
T: RefUnwindSafe,
impl<T: ?Sized> Send for DebugIgnore<T>where
T: Send,
impl<T: ?Sized> Sync for DebugIgnore<T>where
T: Sync,
impl<T: ?Sized> Unpin for DebugIgnore<T>where
T: Unpin,
impl<T: ?Sized> UnwindSafe for DebugIgnore<T>where
T: UnwindSafe,
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