pub struct AuditEntryFilter {
pub id: Option<Box<IDComparator>>,
pub created_at: Option<Box<DateComparator>>,
pub updated_at: Option<Box<DateComparator>>,
pub type: Option<Box<StringComparator>>,
pub ip: Option<Box<StringComparator>>,
pub country_code: Option<Box<StringComparator>>,
pub actor: Option<Box<NullableUserFilter>>,
pub and: Option<Vec<Box<AuditEntryFilter>>>,
pub or: Option<Vec<Box<AuditEntryFilter>>>,
}Expand description
Audit entry 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.
type: Option<Box<StringComparator>>Comparator for the type.
ip: Option<Box<StringComparator>>Comparator for the IP address.
country_code: Option<Box<StringComparator>>Comparator for the country code.
actor: Option<Box<NullableUserFilter>>Filters that the audit entry actor must satisfy.
and: Option<Vec<Box<AuditEntryFilter>>>Compound filters, all of which need to be matched by the issue.
or: Option<Vec<Box<AuditEntryFilter>>>Compound filters, one of which need to be matched by the issue.
Trait Implementations§
Source§impl Clone for AuditEntryFilter
impl Clone for AuditEntryFilter
Source§fn clone(&self) -> AuditEntryFilter
fn clone(&self) -> AuditEntryFilter
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 AuditEntryFilter
impl Debug for AuditEntryFilter
Source§impl Default for AuditEntryFilter
impl Default for AuditEntryFilter
Source§fn default() -> AuditEntryFilter
fn default() -> AuditEntryFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuditEntryFilter
impl<'de> Deserialize<'de> for AuditEntryFilter
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 AuditEntryFilter
impl RefUnwindSafe for AuditEntryFilter
impl Send for AuditEntryFilter
impl Sync for AuditEntryFilter
impl Unpin for AuditEntryFilter
impl UnwindSafe for AuditEntryFilter
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