pub struct ReplaceRedaction {
    pub text: String,
}Expand description
Replaces a value with a specific string.
Fields§
§text: StringThe replacement string.
Trait Implementations§
Source§impl Clone for ReplaceRedaction
 
impl Clone for ReplaceRedaction
Source§fn clone(&self) -> ReplaceRedaction
 
fn clone(&self) -> ReplaceRedaction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for ReplaceRedaction
 
impl Debug for ReplaceRedaction
Source§impl Default for ReplaceRedaction
 
impl Default for ReplaceRedaction
Source§impl<'de> Deserialize<'de> for ReplaceRedaction
 
impl<'de> Deserialize<'de> for ReplaceRedaction
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 From<String> for ReplaceRedaction
 
impl From<String> for ReplaceRedaction
Source§fn from(text: String) -> ReplaceRedaction
 
fn from(text: String) -> ReplaceRedaction
Converts to this type from the input type.
Source§impl PartialEq for ReplaceRedaction
 
impl PartialEq for ReplaceRedaction
Source§impl Serialize for ReplaceRedaction
 
impl Serialize for ReplaceRedaction
impl Eq for ReplaceRedaction
impl StructuralPartialEq for ReplaceRedaction
Auto Trait Implementations§
impl Freeze for ReplaceRedaction
impl RefUnwindSafe for ReplaceRedaction
impl Send for ReplaceRedaction
impl Sync for ReplaceRedaction
impl Unpin for ReplaceRedaction
impl UnwindSafe for ReplaceRedaction
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.