pub struct AuditQuery {
pub user: Option<String>,
pub resource_kind: Option<String>,
pub since: Option<DateTime<Utc>>,
pub until: Option<DateTime<Utc>>,
pub limit: Option<usize>,
}Expand description
Query parameters for GET /api/v1/audit.
Fields§
§user: Option<String>Filter by user id.
resource_kind: Option<String>Filter by resource kind.
since: Option<DateTime<Utc>>Only entries at or after this timestamp (RFC 3339).
until: Option<DateTime<Utc>>Only entries at or before this timestamp (RFC 3339).
limit: Option<usize>Maximum number of entries to return (default 100).
Trait Implementations§
Source§impl Debug for AuditQuery
impl Debug for AuditQuery
Source§impl<'de> Deserialize<'de> for AuditQuery
impl<'de> Deserialize<'de> for AuditQuery
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
Source§impl IntoParams for AuditQuery
impl IntoParams for AuditQuery
Source§fn into_params(
parameter_in_provider: impl Fn() -> Option<ParameterIn>,
) -> Vec<Parameter>
fn into_params( parameter_in_provider: impl Fn() -> Option<ParameterIn>, ) -> Vec<Parameter>
Provide
Vec of openapi::path::Parameters to caller. The result is used in utoipa-gen library to
provide OpenAPI parameter information for the endpoint using the parameters.Auto Trait Implementations§
impl Freeze for AuditQuery
impl RefUnwindSafe for AuditQuery
impl Send for AuditQuery
impl Sync for AuditQuery
impl Unpin for AuditQuery
impl UnsafeUnpin for AuditQuery
impl UnwindSafe for AuditQuery
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