pub struct DeviceRoot {
pub spec_version: SpecVersion,
pub url_base: String,
pub device: Device,
}
Fields§
§spec_version: SpecVersion
§url_base: String
§device: Device
Trait Implementations§
Source§impl Clone for DeviceRoot
impl Clone for DeviceRoot
Source§fn clone(&self) -> DeviceRoot
fn clone(&self) -> DeviceRoot
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 DeviceRoot
impl Debug for DeviceRoot
Source§impl<T: Write> RootWritable<T> for DeviceRoot
impl<T: Write> RootWritable<T> for DeviceRoot
fn write_root(&self, writer: T) -> Result<T, Error>
Auto Trait Implementations§
impl Freeze for DeviceRoot
impl RefUnwindSafe for DeviceRoot
impl Send for DeviceRoot
impl Sync for DeviceRoot
impl Unpin for DeviceRoot
impl UnwindSafe for DeviceRoot
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