pub struct NullableCommentFilter {Show 14 fields
pub id: Option<Box<IDComparator>>,
pub created_at: Option<Box<DateComparator>>,
pub updated_at: Option<Box<DateComparator>>,
pub body: Option<Box<StringComparator>>,
pub user: Option<Box<UserFilter>>,
pub issue: Option<Box<NullableIssueFilter>>,
pub project_update: Option<Box<NullableProjectUpdateFilter>>,
pub parent: Option<Box<NullableCommentFilter>>,
pub document_content: Option<Box<NullableDocumentContentFilter>>,
pub reactions: Option<Box<ReactionCollectionFilter>>,
pub needs: Option<Box<CustomerNeedCollectionFilter>>,
pub null: Option<bool>,
pub and: Option<Vec<Box<NullableCommentFilter>>>,
pub or: Option<Vec<Box<NullableCommentFilter>>>,
}Expand description
Comment 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.
body: Option<Box<StringComparator>>Comparator for the comment’s body.
user: Option<Box<UserFilter>>Filters that the comment’s creator must satisfy.
issue: Option<Box<NullableIssueFilter>>Filters that the comment’s issue must satisfy.
project_update: Option<Box<NullableProjectUpdateFilter>>Filters that the comment’s project update must satisfy.
parent: Option<Box<NullableCommentFilter>>Filters that the comment parent must satisfy.
document_content: Option<Box<NullableDocumentContentFilter>>Filters that the comment’s document content must satisfy.
reactions: Option<Box<ReactionCollectionFilter>>Filters that the comment’s reactions must satisfy.
needs: Option<Box<CustomerNeedCollectionFilter>>Filters that the comment’s customer needs must satisfy.
null: Option<bool>Filter based on the existence of the relation.
and: Option<Vec<Box<NullableCommentFilter>>>Compound filters, all of which need to be matched by the comment.
or: Option<Vec<Box<NullableCommentFilter>>>Compound filters, one of which need to be matched by the comment.
Trait Implementations§
Source§impl Clone for NullableCommentFilter
impl Clone for NullableCommentFilter
Source§fn clone(&self) -> NullableCommentFilter
fn clone(&self) -> NullableCommentFilter
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 NullableCommentFilter
impl Debug for NullableCommentFilter
Source§impl Default for NullableCommentFilter
impl Default for NullableCommentFilter
Source§fn default() -> NullableCommentFilter
fn default() -> NullableCommentFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NullableCommentFilter
impl<'de> Deserialize<'de> for NullableCommentFilter
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 NullableCommentFilter
impl RefUnwindSafe for NullableCommentFilter
impl Send for NullableCommentFilter
impl Sync for NullableCommentFilter
impl Unpin for NullableCommentFilter
impl UnwindSafe for NullableCommentFilter
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