pub struct PropertyFilter {
pub one_of: Vec<PropertyValue>,
pub not_one_of: Vec<PropertyValue>,
pub domain_not_one_of: Vec<PropertyValue>,
pub minimum: Option<NotNan<f64>>,
pub maximum: Option<NotNan<f64>>,
}
Fields§
§one_of: Vec<PropertyValue>
§not_one_of: Vec<PropertyValue>
§domain_not_one_of: Vec<PropertyValue>
§minimum: Option<NotNan<f64>>
§maximum: Option<NotNan<f64>>
Implementations§
Source§impl PropertyFilter
impl PropertyFilter
pub fn new( one_of: Vec<PropertyValue>, not_one_of: Vec<PropertyValue>, domain_not_one_of: Vec<PropertyValue>, ) -> Self
Trait Implementations§
Source§impl Clone for PropertyFilter
impl Clone for PropertyFilter
Source§fn clone(&self) -> PropertyFilter
fn clone(&self) -> PropertyFilter
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 PropertyFilter
impl Debug for PropertyFilter
Source§impl Default for PropertyFilter
impl Default for PropertyFilter
Source§fn default() -> PropertyFilter
fn default() -> PropertyFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PropertyFilter
impl<'de> Deserialize<'de> for PropertyFilter
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
Auto Trait Implementations§
impl Freeze for PropertyFilter
impl RefUnwindSafe for PropertyFilter
impl Send for PropertyFilter
impl Sync for PropertyFilter
impl Unpin for PropertyFilter
impl UnwindSafe for PropertyFilter
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