pub struct ContainerLogQuery {
pub tail: usize,
pub follow: bool,
}Expand description
Query parameters for container logs
Fields§
§tail: usizeNumber of tail lines to return
follow: boolFollow logs (SSE stream)
Trait Implementations§
Source§impl Debug for ContainerLogQuery
impl Debug for ContainerLogQuery
Source§impl<'de> Deserialize<'de> for ContainerLogQuery
impl<'de> Deserialize<'de> for ContainerLogQuery
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 ContainerLogQuery
impl IntoParams for ContainerLogQuery
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 ContainerLogQuery
impl RefUnwindSafe for ContainerLogQuery
impl Send for ContainerLogQuery
impl Sync for ContainerLogQuery
impl Unpin for ContainerLogQuery
impl UnsafeUnpin for ContainerLogQuery
impl UnwindSafe for ContainerLogQuery
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