pub struct CommentFilter {Show 13 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 and: Option<Vec<Box<CommentFilter>>>,
pub or: Option<Vec<Box<CommentFilter>>>,
}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.
and: Option<Vec<Box<CommentFilter>>>Compound filters, all of which need to be matched by the comment.
or: Option<Vec<Box<CommentFilter>>>Compound filters, one of which need to be matched by the comment.
Trait Implementations§
Source§impl Clone for CommentFilter
impl Clone for CommentFilter
Source§fn clone(&self) -> CommentFilter
fn clone(&self) -> CommentFilter
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 CommentFilter
impl Debug for CommentFilter
Source§impl Default for CommentFilter
impl Default for CommentFilter
Source§fn default() -> CommentFilter
fn default() -> CommentFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommentFilter
impl<'de> Deserialize<'de> for CommentFilter
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 CommentFilter
impl RefUnwindSafe for CommentFilter
impl Send for CommentFilter
impl Sync for CommentFilter
impl Unpin for CommentFilter
impl UnwindSafe for CommentFilter
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