pub struct DebugSetGcPercentRequest {
pub async_: Option<bool>,
pub gc_percent: Option<i64>,
pub group: Option<String>,
}Expand description
DebugSetGcPercentRequest
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"
},
"gc-percent": {
"description": "Target percentage of newly allocated data to
trigger garbage collection.",
"type": "integer"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
gc_percent: Option<i64>Target percentage of newly allocated data to trigger garbage collection.
group: Option<String>Assign the request to a custom stats group.
Trait Implementations§
Source§impl Clone for DebugSetGcPercentRequest
impl Clone for DebugSetGcPercentRequest
Source§fn clone(&self) -> DebugSetGcPercentRequest
fn clone(&self) -> DebugSetGcPercentRequest
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 Debug for DebugSetGcPercentRequest
impl Debug for DebugSetGcPercentRequest
Source§impl Default for DebugSetGcPercentRequest
impl Default for DebugSetGcPercentRequest
Source§impl<'de> Deserialize<'de> for DebugSetGcPercentRequest
impl<'de> Deserialize<'de> for DebugSetGcPercentRequest
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<&DebugSetGcPercentRequest> for DebugSetGcPercentRequest
impl From<&DebugSetGcPercentRequest> for DebugSetGcPercentRequest
Source§fn from(value: &DebugSetGcPercentRequest) -> Self
fn from(value: &DebugSetGcPercentRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DebugSetGcPercentRequest
impl RefUnwindSafe for DebugSetGcPercentRequest
impl Send for DebugSetGcPercentRequest
impl Sync for DebugSetGcPercentRequest
impl Unpin for DebugSetGcPercentRequest
impl UnsafeUnpin for DebugSetGcPercentRequest
impl UnwindSafe for DebugSetGcPercentRequest
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