pub struct NullableTemplateFilter {
pub id: Option<Box<IDComparator>>,
pub created_at: Option<Box<DateComparator>>,
pub updated_at: Option<Box<DateComparator>>,
pub name: Option<Box<StringComparator>>,
pub type: Option<Box<StringComparator>>,
pub inherited_from_id: Option<Box<IDComparator>>,
pub null: Option<bool>,
pub and: Option<Vec<Box<NullableTemplateFilter>>>,
pub or: Option<Vec<Box<NullableTemplateFilter>>>,
}Expand description
Template filtering options.
Fields§
§id: Option<Box<IDComparator>>Comparator for the identifier.
created_at: Option<Box<DateComparator>>Comparator for the created at date.
updated_at: Option<Box<DateComparator>>Comparator for the updated at date.
name: Option<Box<StringComparator>>Comparator for the template’s name.
type: Option<Box<StringComparator>>Comparator for the template’s type.
inherited_from_id: Option<Box<IDComparator>>Comparator for the inherited template’s ID.
null: Option<bool>Filter based on the existence of the relation.
and: Option<Vec<Box<NullableTemplateFilter>>>Compound filters, all of which need to be matched by the template.
or: Option<Vec<Box<NullableTemplateFilter>>>Compound filters, one of which need to be matched by the template.
Trait Implementations§
Source§impl Clone for NullableTemplateFilter
impl Clone for NullableTemplateFilter
Source§fn clone(&self) -> NullableTemplateFilter
fn clone(&self) -> NullableTemplateFilter
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 NullableTemplateFilter
impl Debug for NullableTemplateFilter
Source§impl Default for NullableTemplateFilter
impl Default for NullableTemplateFilter
Source§fn default() -> NullableTemplateFilter
fn default() -> NullableTemplateFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NullableTemplateFilter
impl<'de> Deserialize<'de> for NullableTemplateFilter
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 NullableTemplateFilter
impl RefUnwindSafe for NullableTemplateFilter
impl Send for NullableTemplateFilter
impl Sync for NullableTemplateFilter
impl Unpin for NullableTemplateFilter
impl UnwindSafe for NullableTemplateFilter
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