pub struct DebugSetMutexProfileFractionRequest {
pub async_: Option<bool>,
pub group: Option<String>,
pub rate: Option<i64>,
}Expand description
DebugSetMutexProfileFractionRequest
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 fraction for mutex contention profiling;
set to 0 to disable.",
"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 fraction for mutex contention profiling; set to 0 to disable.
Trait Implementations§
Source§impl Clone for DebugSetMutexProfileFractionRequest
impl Clone for DebugSetMutexProfileFractionRequest
Source§fn clone(&self) -> DebugSetMutexProfileFractionRequest
fn clone(&self) -> DebugSetMutexProfileFractionRequest
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 DebugSetMutexProfileFractionRequest
impl<'de> Deserialize<'de> for DebugSetMutexProfileFractionRequest
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<&DebugSetMutexProfileFractionRequest> for DebugSetMutexProfileFractionRequest
impl From<&DebugSetMutexProfileFractionRequest> for DebugSetMutexProfileFractionRequest
Source§fn from(value: &DebugSetMutexProfileFractionRequest) -> Self
fn from(value: &DebugSetMutexProfileFractionRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DebugSetMutexProfileFractionRequest
impl RefUnwindSafe for DebugSetMutexProfileFractionRequest
impl Send for DebugSetMutexProfileFractionRequest
impl Sync for DebugSetMutexProfileFractionRequest
impl Unpin for DebugSetMutexProfileFractionRequest
impl UnsafeUnpin for DebugSetMutexProfileFractionRequest
impl UnwindSafe for DebugSetMutexProfileFractionRequest
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