pub struct ReplacePathRegexConfigType {
pub regex: String,
pub replacement: String,
}Fields§
§regex: String§replacement: StringImplementations§
Source§impl ReplacePathRegexConfigType
impl ReplacePathRegexConfigType
pub fn new(regex: String, replacement: String) -> ReplacePathRegexConfigType
Trait Implementations§
Source§impl Clone for ReplacePathRegexConfigType
impl Clone for ReplacePathRegexConfigType
Source§fn clone(&self) -> ReplacePathRegexConfigType
fn clone(&self) -> ReplacePathRegexConfigType
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 ReplacePathRegexConfigType
impl Debug for ReplacePathRegexConfigType
Source§impl Default for ReplacePathRegexConfigType
impl Default for ReplacePathRegexConfigType
Source§fn default() -> ReplacePathRegexConfigType
fn default() -> ReplacePathRegexConfigType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReplacePathRegexConfigType
impl<'de> Deserialize<'de> for ReplacePathRegexConfigType
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
impl StructuralPartialEq for ReplacePathRegexConfigType
Auto Trait Implementations§
impl Freeze for ReplacePathRegexConfigType
impl RefUnwindSafe for ReplacePathRegexConfigType
impl Send for ReplacePathRegexConfigType
impl Sync for ReplacePathRegexConfigType
impl Unpin for ReplacePathRegexConfigType
impl UnwindSafe for ReplacePathRegexConfigType
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