pub struct NullableDocumentContentFilter {
pub id: Option<Box<IDComparator>>,
pub created_at: Option<Box<DateComparator>>,
pub updated_at: Option<Box<DateComparator>>,
pub content: Option<Box<NullableStringComparator>>,
pub project: Option<Box<ProjectFilter>>,
pub document: Option<Box<DocumentFilter>>,
pub null: Option<bool>,
pub and: Option<Vec<Box<NullableDocumentContentFilter>>>,
pub or: Option<Vec<Box<NullableDocumentContentFilter>>>,
}Expand description
Document content 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.
content: Option<Box<NullableStringComparator>>Comparator for the document content.
project: Option<Box<ProjectFilter>>Filters that the document content project must satisfy.
document: Option<Box<DocumentFilter>>Filters that the document content document must satisfy.
null: Option<bool>Filter based on the existence of the relation.
and: Option<Vec<Box<NullableDocumentContentFilter>>>Compound filters, all of which need to be matched by the user.
or: Option<Vec<Box<NullableDocumentContentFilter>>>Compound filters, one of which need to be matched by the user.
Trait Implementations§
Source§impl Clone for NullableDocumentContentFilter
impl Clone for NullableDocumentContentFilter
Source§fn clone(&self) -> NullableDocumentContentFilter
fn clone(&self) -> NullableDocumentContentFilter
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 Default for NullableDocumentContentFilter
impl Default for NullableDocumentContentFilter
Source§fn default() -> NullableDocumentContentFilter
fn default() -> NullableDocumentContentFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NullableDocumentContentFilter
impl<'de> Deserialize<'de> for NullableDocumentContentFilter
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 NullableDocumentContentFilter
impl RefUnwindSafe for NullableDocumentContentFilter
impl Send for NullableDocumentContentFilter
impl Sync for NullableDocumentContentFilter
impl Unpin for NullableDocumentContentFilter
impl UnwindSafe for NullableDocumentContentFilter
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