pub struct FindTextDto {
pub query: String,
pub case_sensitive: bool,
pub whole_word: bool,
pub diacritic_sensitive: bool,
pub language: String,
pub use_regex: bool,
pub search_backward: bool,
pub start_position: i64,
}Fields§
§query: String§case_sensitive: bool§whole_word: bool§diacritic_sensitive: boolfalse (the default) folds diacritics, ligatures and Arabic orthography, so that
aurelien finds Aurélien. See crate::folding.
language: StringThe BCP-47 tag of the text being searched. Only Turkish and Azerbaijani change how text folds; anything else — including an empty or malformed tag — is untailored.
use_regex: bool§search_backward: bool§start_position: i64Trait Implementations§
Source§impl Clone for FindTextDto
impl Clone for FindTextDto
Source§fn clone(&self) -> FindTextDto
fn clone(&self) -> FindTextDto
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FindTextDto
impl Debug for FindTextDto
Source§impl Default for FindTextDto
impl Default for FindTextDto
Source§fn default() -> FindTextDto
fn default() -> FindTextDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FindTextDto
impl<'de> Deserialize<'de> for FindTextDto
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<&FindTextDto> for MatchOptions
impl From<&FindTextDto> for MatchOptions
Source§fn from(dto: &FindTextDto) -> Self
fn from(dto: &FindTextDto) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FindTextDto
impl PartialEq for FindTextDto
Source§impl Serialize for FindTextDto
impl Serialize for FindTextDto
impl StructuralPartialEq for FindTextDto
Auto Trait Implementations§
impl Freeze for FindTextDto
impl RefUnwindSafe for FindTextDto
impl Send for FindTextDto
impl Sync for FindTextDto
impl Unpin for FindTextDto
impl UnsafeUnpin for FindTextDto
impl UnwindSafe for FindTextDto
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