pub struct DriverModel {
pub value: u32,
}Fields§
§value: u32Implementations§
Trait Implementations§
Source§impl Clone for DriverModel
impl Clone for DriverModel
Source§fn clone(&self) -> DriverModel
fn clone(&self) -> DriverModel
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 DriverModel
impl Debug for DriverModel
Source§impl<'de> Deserialize<'de> for DriverModel
impl<'de> Deserialize<'de> for DriverModel
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DriverModel, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DriverModel, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DriverModel
impl Display for DriverModel
Source§impl Hash for DriverModel
impl Hash for DriverModel
Source§impl Ord for DriverModel
impl Ord for DriverModel
Source§fn cmp(&self, other: &DriverModel) -> Ordering
fn cmp(&self, other: &DriverModel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DriverModel
impl PartialEq for DriverModel
Source§impl PartialOrd for DriverModel
impl PartialOrd for DriverModel
Source§impl Serialize for DriverModel
impl Serialize for DriverModel
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for DriverModel
impl Eq for DriverModel
impl StructuralPartialEq for DriverModel
Auto Trait Implementations§
impl Freeze for DriverModel
impl RefUnwindSafe for DriverModel
impl Send for DriverModel
impl Sync for DriverModel
impl Unpin for DriverModel
impl UnwindSafe for DriverModel
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