pub struct AgentActivityFilter {
pub id: Option<Box<IDComparator>>,
pub created_at: Option<Box<DateComparator>>,
pub updated_at: Option<Box<DateComparator>>,
pub agent_session_id: Option<Box<StringComparator>>,
pub type: Option<Box<StringComparator>>,
pub source_comment: Option<Box<NullableCommentFilter>>,
pub and: Option<Vec<Box<AgentActivityFilter>>>,
pub or: Option<Vec<Box<AgentActivityFilter>>>,
}Expand description
Agent activity 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.
agent_session_id: Option<Box<StringComparator>>Comparator for the agent session ID.
type: Option<Box<StringComparator>>Comparator for the agent activity’s content type.
source_comment: Option<Box<NullableCommentFilter>>Filters that the source comment must satisfy.
and: Option<Vec<Box<AgentActivityFilter>>>Compound filters, all of which need to be matched by the agent activity.
or: Option<Vec<Box<AgentActivityFilter>>>Compound filters, one of which need to be matched by the agent activity.
Trait Implementations§
Source§impl Clone for AgentActivityFilter
impl Clone for AgentActivityFilter
Source§fn clone(&self) -> AgentActivityFilter
fn clone(&self) -> AgentActivityFilter
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 AgentActivityFilter
impl Debug for AgentActivityFilter
Source§impl Default for AgentActivityFilter
impl Default for AgentActivityFilter
Source§fn default() -> AgentActivityFilter
fn default() -> AgentActivityFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentActivityFilter
impl<'de> Deserialize<'de> for AgentActivityFilter
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 AgentActivityFilter
impl RefUnwindSafe for AgentActivityFilter
impl Send for AgentActivityFilter
impl Sync for AgentActivityFilter
impl Unpin for AgentActivityFilter
impl UnwindSafe for AgentActivityFilter
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