pub struct SamplyProfileGetParams {
pub ordinal: usize,
pub latest: bool,
}Expand description
Query parameters to retrieve samply profile.
Fields§
§ordinal: usizeIn a multihost pipeline, the ordinal of the pipeline to sample.
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 Default for SamplyProfileGetParams
impl Default for SamplyProfileGetParams
Source§fn default() -> SamplyProfileGetParams
fn default() -> SamplyProfileGetParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SamplyProfileGetParamswhere
SamplyProfileGetParams: Default,
impl<'de> Deserialize<'de> for SamplyProfileGetParamswhere
SamplyProfileGetParams: Default,
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.Source§impl Serialize for SamplyProfileGetParams
impl Serialize for SamplyProfileGetParams
Auto Trait Implementations§
impl Freeze for SamplyProfileGetParams
impl RefUnwindSafe for SamplyProfileGetParams
impl Send for SamplyProfileGetParams
impl Sync for SamplyProfileGetParams
impl Unpin for SamplyProfileGetParams
impl UnsafeUnpin 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