pub struct TextMatch {
pub text: String,
pub collation: Option<String>,
pub negate_condition: bool,
pub match_type: Option<String>,
}Available on crate features
caldav or carddav only.Expand description
Text matching filter for property values
Used in both CalDAV and CardDAV for matching text content in properties.
Fields§
§text: StringThe text to match against
collation: Option<String>Collation to use for comparison (e.g., “i;ascii-casemap”)
negate_condition: boolIf true, the match condition is negated
match_type: Option<String>Match type for CardDAV: “equals”, “contains”, “starts-with”, “ends-with” CalDAV uses “contains” by default if not specified
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextMatch
impl RefUnwindSafe for TextMatch
impl Send for TextMatch
impl Sync for TextMatch
impl Unpin for TextMatch
impl UnwindSafe for TextMatch
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