pub struct EventsQuery {
pub follow: Option<bool>,
pub label: Vec<String>,
}Expand description
Query parameters for GET /api/v1/events.
Fields§
§follow: Option<bool>Follow the event stream. Default: true. Reserved for parity with
Docker-compat tooling; this endpoint is always streaming.
label: Vec<String>Label filter in k=v form. Repeatable. An event passes only if all
filters match (AND semantics).
Trait Implementations§
Source§impl Clone for EventsQuery
impl Clone for EventsQuery
Source§fn clone(&self) -> EventsQuery
fn clone(&self) -> EventsQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EventsQuery
impl Debug for EventsQuery
Source§impl Default for EventsQuery
impl Default for EventsQuery
Source§fn default() -> EventsQuery
fn default() -> EventsQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventsQuery
impl<'de> Deserialize<'de> for EventsQuery
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 EventsQuery
impl IntoParams for EventsQuery
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 EventsQuery
impl RefUnwindSafe for EventsQuery
impl Send for EventsQuery
impl Sync for EventsQuery
impl Unpin for EventsQuery
impl UnsafeUnpin for EventsQuery
impl UnwindSafe for EventsQuery
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