pub struct DebugSetBlockProfileRateRequest {
pub async_: Option<bool>,
pub group: Option<String>,
pub rate: Option<i64>,
}Expand description
DebugSetBlockProfileRateRequest
JSON schema
{
"type": "object",
"properties": {
"_async": {
"description": "Run the command asynchronously. Returns a job id
immediately.",
"type": "boolean"
},
"_group": {
"description": "Assign the request to a custom stats group.",
"type": "string"
},
"rate": {
"description": "Sampling interval in nanoseconds for blocking
profile collection; use 1 to capture all events.",
"type": "integer"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
group: Option<String>Assign the request to a custom stats group.
rate: Option<i64>Sampling interval in nanoseconds for blocking profile collection; use 1 to capture all events.
Trait Implementations§
Source§impl Clone for DebugSetBlockProfileRateRequest
impl Clone for DebugSetBlockProfileRateRequest
Source§fn clone(&self) -> DebugSetBlockProfileRateRequest
fn clone(&self) -> DebugSetBlockProfileRateRequest
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<'de> Deserialize<'de> for DebugSetBlockProfileRateRequest
impl<'de> Deserialize<'de> for DebugSetBlockProfileRateRequest
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 From<&DebugSetBlockProfileRateRequest> for DebugSetBlockProfileRateRequest
impl From<&DebugSetBlockProfileRateRequest> for DebugSetBlockProfileRateRequest
Source§fn from(value: &DebugSetBlockProfileRateRequest) -> Self
fn from(value: &DebugSetBlockProfileRateRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DebugSetBlockProfileRateRequest
impl RefUnwindSafe for DebugSetBlockProfileRateRequest
impl Send for DebugSetBlockProfileRateRequest
impl Sync for DebugSetBlockProfileRateRequest
impl Unpin for DebugSetBlockProfileRateRequest
impl UnsafeUnpin for DebugSetBlockProfileRateRequest
impl UnwindSafe for DebugSetBlockProfileRateRequest
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