pub struct BoardInfo {
pub vid: Option<u32>,
pub pid: Option<u32>,
pub board_name: Option<String>,
pub board_revision: Option<u32>,
}Fields§
§vid: Option<u32>§pid: Option<u32>§board_name: Option<String>§board_revision: Option<u32>Trait Implementations§
Source§impl<'a, ___E> Encode<BoardInfo<'static>, ___E> for &'a BoardInfowhere
___E: Encoder + ?Sized,
impl<'a, ___E> Encode<BoardInfo<'static>, ___E> for &'a BoardInfowhere
___E: Encoder + ?Sized,
Source§impl<___E> Encode<BoardInfo<'static>, ___E> for BoardInfowhere
___E: Encoder + ?Sized,
impl<___E> Encode<BoardInfo<'static>, ___E> for BoardInfowhere
___E: Encoder + ?Sized,
Source§impl<'de> FromWireRef<BoardInfo<'de>> for BoardInfo
impl<'de> FromWireRef<BoardInfo<'de>> for BoardInfo
Source§fn from_wire_ref(wire: &BoardInfo<'de>) -> BoardInfo
fn from_wire_ref(wire: &BoardInfo<'de>) -> BoardInfo
Converts the given reference to this type.
Source§impl Ord for BoardInfo
impl Ord for BoardInfo
1.21.0 (const: unstable) · 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 PartialOrd for BoardInfo
impl PartialOrd for BoardInfo
impl Eq for BoardInfo
impl StructuralPartialEq for BoardInfo
Auto Trait Implementations§
impl Freeze for BoardInfo
impl RefUnwindSafe for BoardInfo
impl Send for BoardInfo
impl Sync for BoardInfo
impl Unpin for BoardInfo
impl UnsafeUnpin for BoardInfo
impl UnwindSafe for BoardInfo
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,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]