Struct nfs4::DeviceData
source · pub struct DeviceData {
pub major: u32,
pub minor: u32,
}
Fields§
§major: u32
§minor: u32
Trait Implementations§
source§impl Clone for DeviceData
impl Clone for DeviceData
source§fn clone(&self) -> DeviceData
fn clone(&self) -> DeviceData
Returns a copy 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 DeviceData
impl Debug for DeviceData
source§impl<'de> Deserialize<'de> for DeviceData
impl<'de> Deserialize<'de> for DeviceData
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
source§impl PartialEq<DeviceData> for DeviceData
impl PartialEq<DeviceData> for DeviceData
source§fn eq(&self, other: &DeviceData) -> bool
fn eq(&self, other: &DeviceData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DeviceData
impl Serialize for DeviceData
source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime FileAttribute> for &'__deriveMoreLifetime DeviceData
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime FileAttribute> for &'__deriveMoreLifetime DeviceData
source§impl TryFrom<FileAttribute> for DeviceData
impl TryFrom<FileAttribute> for DeviceData
impl Eq for DeviceData
impl StructuralEq for DeviceData
impl StructuralPartialEq for DeviceData
Auto Trait Implementations§
impl RefUnwindSafe for DeviceData
impl Send for DeviceData
impl Sync for DeviceData
impl Unpin for DeviceData
impl UnwindSafe for DeviceData
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