pub struct RawPmemPatch {
pub pmem_id: String,
pub rate_limiter: Option<Value>,
}Expand description
Raw /pmem/{id} PATCH body. Mirrors upstream’s PmemDeviceUpdateConfig.
Fields§
§pmem_id: StringPmem device ID being patched (must match the URL {id}). Upstream calls this
id; we accept both pmem_id and id for forward compat with squib’s other
patch bodies.
rate_limiter: Option<Value>Replacement rate limiter.
Trait Implementations§
Source§impl Clone for RawPmemPatch
impl Clone for RawPmemPatch
Source§fn clone(&self) -> RawPmemPatch
fn clone(&self) -> RawPmemPatch
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 RawPmemPatch
impl Debug for RawPmemPatch
Source§impl<'de> Deserialize<'de> for RawPmemPatch
impl<'de> Deserialize<'de> for RawPmemPatch
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
Auto Trait Implementations§
impl Freeze for RawPmemPatch
impl RefUnwindSafe for RawPmemPatch
impl Send for RawPmemPatch
impl Sync for RawPmemPatch
impl Unpin for RawPmemPatch
impl UnsafeUnpin for RawPmemPatch
impl UnwindSafe for RawPmemPatch
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