pub struct DeviceRam {
pub max_bytes: Option<i64>,
pub min_bytes: Option<i64>,
}Expand description
Conditions about a device’s RAM capabilities.
This type is not used in any activity, and only used as part of another schema.
Fields§
§max_bytes: Option<i64>Maximum RAM in bytes (bound excluded).
min_bytes: Option<i64>Minimum RAM in bytes (bound included).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DeviceRam
impl<'de> Deserialize<'de> for DeviceRam
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
impl Part for DeviceRam
Auto Trait Implementations§
impl Freeze for DeviceRam
impl RefUnwindSafe for DeviceRam
impl Send for DeviceRam
impl Sync for DeviceRam
impl Unpin for DeviceRam
impl UnwindSafe for DeviceRam
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