pub struct KvDeviceRangeCatalog {
pub model: String,
pub model_code: String,
pub has_model_code: bool,
pub requested_model: String,
pub resolved_model: String,
pub entries: Vec<KvDeviceRangeEntry>,
}Fields§
§model: String§model_code: String§has_model_code: bool§requested_model: String§resolved_model: String§entries: Vec<KvDeviceRangeEntry>Implementations§
Source§impl KvDeviceRangeCatalog
impl KvDeviceRangeCatalog
pub fn entry(&self, device_type: &str) -> Option<&KvDeviceRangeEntry>
Trait Implementations§
Source§impl Clone for KvDeviceRangeCatalog
impl Clone for KvDeviceRangeCatalog
Source§fn clone(&self) -> KvDeviceRangeCatalog
fn clone(&self) -> KvDeviceRangeCatalog
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 KvDeviceRangeCatalog
impl Debug for KvDeviceRangeCatalog
Source§impl PartialEq for KvDeviceRangeCatalog
impl PartialEq for KvDeviceRangeCatalog
Source§fn eq(&self, other: &KvDeviceRangeCatalog) -> bool
fn eq(&self, other: &KvDeviceRangeCatalog) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for KvDeviceRangeCatalog
impl StructuralPartialEq for KvDeviceRangeCatalog
Auto Trait Implementations§
impl Freeze for KvDeviceRangeCatalog
impl RefUnwindSafe for KvDeviceRangeCatalog
impl Send for KvDeviceRangeCatalog
impl Sync for KvDeviceRangeCatalog
impl Unpin for KvDeviceRangeCatalog
impl UnsafeUnpin for KvDeviceRangeCatalog
impl UnwindSafe for KvDeviceRangeCatalog
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.