pub struct RaspberryPiInfo {
pub revision: Revision,
pub serial: String,
}
Expand description
The top level aggregation of information about a particular hardware configuration.
Fields§
§revision: Revision
§serial: String
Trait Implementations§
Source§impl Clone for RaspberryPiInfo
impl Clone for RaspberryPiInfo
Source§fn clone(&self) -> RaspberryPiInfo
fn clone(&self) -> RaspberryPiInfo
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 RaspberryPiInfo
impl Debug for RaspberryPiInfo
Source§impl PartialEq for RaspberryPiInfo
impl PartialEq for RaspberryPiInfo
impl Eq for RaspberryPiInfo
impl StructuralPartialEq for RaspberryPiInfo
Auto Trait Implementations§
impl Freeze for RaspberryPiInfo
impl RefUnwindSafe for RaspberryPiInfo
impl Send for RaspberryPiInfo
impl Sync for RaspberryPiInfo
impl Unpin for RaspberryPiInfo
impl UnwindSafe for RaspberryPiInfo
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