pub struct ParsedSearchConfig {
pub search: SearchType,
pub replace: String,
}Fields§
§search: SearchTypeThe pattern to search for (fixed string or regex). Should be produced by validation::parse_search_text
replace: StringThe text to replace matches with
Trait Implementations§
Source§impl Clone for ParsedSearchConfig
impl Clone for ParsedSearchConfig
Source§fn clone(&self) -> ParsedSearchConfig
fn clone(&self) -> ParsedSearchConfig
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 moreAuto Trait Implementations§
impl Freeze for ParsedSearchConfig
impl RefUnwindSafe for ParsedSearchConfig
impl Send for ParsedSearchConfig
impl Sync for ParsedSearchConfig
impl Unpin for ParsedSearchConfig
impl UnwindSafe for ParsedSearchConfig
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