pub struct FindReplaceParams {
pub notes: Vec<i64>,
pub action: Option<String>,
pub model_name: String,
pub field_name: String,
pub find_text: String,
pub replace_text: String,
pub regex: Option<bool>,
pub match_case: Option<bool>,
}Expand description
Parameters for find and replace in models.
Fields§
§notes: Vec<i64>Notes to search in (empty for all notes).
action: Option<String>Action (usually “findAndReplaceInModels”).
model_name: StringModel name.
field_name: StringField name.
find_text: StringSearch pattern.
replace_text: StringReplacement text.
regex: Option<bool>Use regex.
match_case: Option<bool>Match case.
Implementations§
Trait Implementations§
Source§impl Clone for FindReplaceParams
impl Clone for FindReplaceParams
Source§fn clone(&self) -> FindReplaceParams
fn clone(&self) -> FindReplaceParams
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 FindReplaceParams
impl Debug for FindReplaceParams
Auto Trait Implementations§
impl Freeze for FindReplaceParams
impl RefUnwindSafe for FindReplaceParams
impl Send for FindReplaceParams
impl Sync for FindReplaceParams
impl Unpin for FindReplaceParams
impl UnwindSafe for FindReplaceParams
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