pub struct ReplaceRedaction {
pub text: String,
}
Expand description
Replaces a value with a specific string.
Fields§
§text: String
The replacement string.
Trait Implementations§
source§impl Clone for ReplaceRedaction
impl Clone for ReplaceRedaction
source§fn clone(&self) -> ReplaceRedaction
fn clone(&self) -> ReplaceRedaction
Returns a copy 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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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.