pub struct setCpuLimit {
pub limit: Option<u64>,
}Expand description
This structure has the same JSON and Fracpack format as the arguments to Actions::setCpuLimit.
Fields§
§limit: Option<u64>Implementations§
Source§impl setCpuLimit
impl setCpuLimit
pub const ACTION_NAME: &'static str = "setCpuLimit"
Trait Implementations§
Source§impl Clone for setCpuLimit
impl Clone for setCpuLimit
Source§fn clone(&self) -> setCpuLimit
fn clone(&self) -> setCpuLimit
Returns a duplicate of the value. Read more
1.0.0 · 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 setCpuLimit
impl Debug for setCpuLimit
Source§impl<'de> Deserialize<'de> for setCpuLimit
impl<'de> Deserialize<'de> for setCpuLimit
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 Pack for setCpuLimit
impl Pack for setCpuLimit
Source§impl Serialize for setCpuLimit
impl Serialize for setCpuLimit
Source§impl ToSchema for setCpuLimit
impl ToSchema for setCpuLimit
fn schema(builder: &mut SchemaBuilder) -> AnyType
Source§impl<'a> Unpack<'a> for setCpuLimit
impl<'a> Unpack<'a> for setCpuLimit
Source§fn unpack(src: &mut FracInputStream<'a>) -> Result<Self>
fn unpack(src: &mut FracInputStream<'a>) -> Result<Self>
Convert from fracpack format. Also verifies the integrity of the data. Read more
Source§fn verify(src: &mut FracInputStream<'_>) -> Result<()>
fn verify(src: &mut FracInputStream<'_>) -> Result<()>
Verify the integrity of fracpack data. You don’t need to call this if
using [Pack::unpack] since it verifies integrity during unpack.
Auto Trait Implementations§
impl Freeze for setCpuLimit
impl RefUnwindSafe for setCpuLimit
impl Send for setCpuLimit
impl Sync for setCpuLimit
impl Unpin for setCpuLimit
impl UnsafeUnpin for setCpuLimit
impl UnwindSafe for setCpuLimit
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