pub struct SamplyProfileParams {
pub ordinal: usize,
pub duration_secs: u64,
}Fields§
§ordinal: usizeIn a multihost pipeline, the ordinal of the pipeline to sample.
duration_secs: u64The number of seconds to sample for the profile.
Trait Implementations§
Source§impl Debug for SamplyProfileParams
impl Debug for SamplyProfileParams
Source§impl Default for SamplyProfileParams
Default query parameters for POST of a pipeline samply profile.
impl Default for SamplyProfileParams
Default query parameters for POST of a pipeline samply profile.
Source§impl<'de> Deserialize<'de> for SamplyProfileParamswhere
SamplyProfileParams: Default,
impl<'de> Deserialize<'de> for SamplyProfileParamswhere
SamplyProfileParams: 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 SamplyProfileParams
impl IntoParams for SamplyProfileParams
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 SamplyProfileParams
impl Serialize for SamplyProfileParams
Auto Trait Implementations§
impl Freeze for SamplyProfileParams
impl RefUnwindSafe for SamplyProfileParams
impl Send for SamplyProfileParams
impl Sync for SamplyProfileParams
impl Unpin for SamplyProfileParams
impl UnsafeUnpin for SamplyProfileParams
impl UnwindSafe for SamplyProfileParams
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