pub struct SamplyProfileGetParams {
pub latest: bool,
}Expand description
Query parameters to retrieve samply profile.
Fields§
§latest: boolIf true, returns 204 redirect with Retry-After header if profile collection is in progress. If false or not provided, returns the last collected profile.
Trait Implementations§
Source§impl Debug for SamplyProfileGetParams
impl Debug for SamplyProfileGetParams
Source§impl<'de> Deserialize<'de> for SamplyProfileGetParams
impl<'de> Deserialize<'de> for SamplyProfileGetParams
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 SamplyProfileGetParams
impl IntoParams for SamplyProfileGetParams
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 SamplyProfileGetParams
impl RefUnwindSafe for SamplyProfileGetParams
impl Send for SamplyProfileGetParams
impl Sync for SamplyProfileGetParams
impl Unpin for SamplyProfileGetParams
impl UnwindSafe for SamplyProfileGetParams
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