pub struct DebugSetSoftMemoryLimitRequest {
pub async_: Option<bool>,
pub group: Option<String>,
pub mem_limit: Option<i64>,
}Expand description
DebugSetSoftMemoryLimitRequest
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"
},
"mem-limit": {
"description": "Soft memory limit for the Go runtime in bytes.",
"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.
mem_limit: Option<i64>Soft memory limit for the Go runtime in bytes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DebugSetSoftMemoryLimitRequest
impl<'de> Deserialize<'de> for DebugSetSoftMemoryLimitRequest
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<&DebugSetSoftMemoryLimitRequest> for DebugSetSoftMemoryLimitRequest
impl From<&DebugSetSoftMemoryLimitRequest> for DebugSetSoftMemoryLimitRequest
Source§fn from(value: &DebugSetSoftMemoryLimitRequest) -> Self
fn from(value: &DebugSetSoftMemoryLimitRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DebugSetSoftMemoryLimitRequest
impl RefUnwindSafe for DebugSetSoftMemoryLimitRequest
impl Send for DebugSetSoftMemoryLimitRequest
impl Sync for DebugSetSoftMemoryLimitRequest
impl Unpin for DebugSetSoftMemoryLimitRequest
impl UnsafeUnpin for DebugSetSoftMemoryLimitRequest
impl UnwindSafe for DebugSetSoftMemoryLimitRequest
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