pub struct MemoryUpdate {
pub base: Option<ResourceUpdate>,
pub links: Option<LinksUpdate>,
pub location: Option<LocationUpdate>,
pub security_state: Option<SecurityStates>,
pub location_indicator_active: Option<Boolean>,
pub enabled: Option<Boolean>,
pub poison_list_max_media_error_records: Option<Int64>,
pub cxl: Option<CxlUpdate>,
pub volatile_size_limit_mi_b: Option<Int64>,
pub non_volatile_size_limit_mi_b: Option<Int64>,
}Expand description
Update struct corresponding to Memory
Fields§
§base: Option<ResourceUpdate>§links: Option<LinksUpdate>§location: Option<LocationUpdate>§security_state: Option<SecurityStates>§location_indicator_active: Option<Boolean>§enabled: Option<Boolean>§poison_list_max_media_error_records: Option<Int64>§cxl: Option<CxlUpdate>§volatile_size_limit_mi_b: Option<Int64>§non_volatile_size_limit_mi_b: Option<Int64>Implementations§
Source§impl MemoryUpdate
impl MemoryUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_base(self, v: ResourceUpdate) -> Self
pub fn with_links(self, v: LinksUpdate) -> Self
pub fn with_location(self, v: LocationUpdate) -> Self
pub fn with_security_state(self, v: SecurityStates) -> Self
pub fn with_location_indicator_active(self, v: Boolean) -> Self
pub fn with_enabled(self, v: Boolean) -> Self
pub fn with_poison_list_max_media_error_records(self, v: Int64) -> Self
pub fn with_cxl(self, v: CxlUpdate) -> Self
pub fn with_volatile_size_limit_mi_b(self, v: Int64) -> Self
pub fn with_non_volatile_size_limit_mi_b(self, v: Int64) -> Self
Trait Implementations§
Source§impl Debug for MemoryUpdate
impl Debug for MemoryUpdate
Source§impl Default for MemoryUpdate
impl Default for MemoryUpdate
Source§fn default() -> MemoryUpdate
fn default() -> MemoryUpdate
Returns the “default value” for a type. Read more
Source§impl Serialize for MemoryUpdate
impl Serialize for MemoryUpdate
Auto Trait Implementations§
impl Freeze for MemoryUpdate
impl RefUnwindSafe for MemoryUpdate
impl Send for MemoryUpdate
impl Sync for MemoryUpdate
impl Unpin for MemoryUpdate
impl UnsafeUnpin for MemoryUpdate
impl UnwindSafe for MemoryUpdate
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