pub struct ReplacePatternConfig {
pub find: String,
pub replace: String,
}Expand description
Serde-compatible pattern for config deserialization
Fields§
§find: String§replace: StringTrait Implementations§
Source§impl Clone for ReplacePatternConfig
impl Clone for ReplacePatternConfig
Source§fn clone(&self) -> ReplacePatternConfig
fn clone(&self) -> ReplacePatternConfig
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 ReplacePatternConfig
impl Debug for ReplacePatternConfig
Source§impl<'de> Deserialize<'de> for ReplacePatternConfig
impl<'de> Deserialize<'de> for ReplacePatternConfig
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<ReplacePatternConfig> for ReplacePattern
impl From<ReplacePatternConfig> for ReplacePattern
Source§fn from(cfg: ReplacePatternConfig) -> Self
fn from(cfg: ReplacePatternConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReplacePatternConfig
impl RefUnwindSafe for ReplacePatternConfig
impl Send for ReplacePatternConfig
impl Sync for ReplacePatternConfig
impl Unpin for ReplacePatternConfig
impl UnsafeUnpin for ReplacePatternConfig
impl UnwindSafe for ReplacePatternConfig
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