pub struct ParameterFilter {
pub name: String,
pub is_not_defined: bool,
pub text_match: Option<TextMatch>,
}Available on crate features
caldav or carddav only.Expand description
Parameter filter for matching property parameters
Used in both CalDAV and CardDAV for filtering based on property parameters (e.g., TYPE=HOME on a TEL property).
Fields§
§name: StringName of the parameter to filter on (e.g., “TYPE”)
is_not_defined: boolIf true, the parameter must NOT be defined
text_match: Option<TextMatch>Text match filter for the parameter value
Implementations§
Trait Implementations§
Source§impl Clone for ParameterFilter
impl Clone for ParameterFilter
Source§fn clone(&self) -> ParameterFilter
fn clone(&self) -> ParameterFilter
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 ParameterFilter
impl RefUnwindSafe for ParameterFilter
impl Send for ParameterFilter
impl Sync for ParameterFilter
impl Unpin for ParameterFilter
impl UnwindSafe for ParameterFilter
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