pub struct SmbiosType3 { /* private fields */ }Expand description
Specify SMBIOS type 3 fields
Implementations§
Source§impl SmbiosType3
impl SmbiosType3
Sourcepub fn builder() -> SmbiosType3Builder
pub fn builder() -> SmbiosType3Builder
Create an instance of SmbiosType3 using the builder syntax
Trait Implementations§
Source§impl Arbitrary for SmbiosType3
impl Arbitrary for SmbiosType3
Source§type Parameters = (<Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters)
type Parameters = (<Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<(<Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy), fn((Option<String>, Option<String>, Option<String>, Option<String>, Option<String>)) -> SmbiosType3>
type Strategy = Map<(<Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy), fn((Option<String>, Option<String>, Option<String>, Option<String>, Option<String>)) -> SmbiosType3>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for SmbiosType3
impl Clone for SmbiosType3
Source§fn clone(&self) -> SmbiosType3
fn clone(&self) -> SmbiosType3
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 SmbiosType3
impl Debug for SmbiosType3
Source§impl Default for SmbiosType3
impl Default for SmbiosType3
Source§fn default() -> SmbiosType3
fn default() -> SmbiosType3
Returns the “default value” for a type. Read more
Source§impl FromStr for SmbiosType3
impl FromStr for SmbiosType3
Source§impl Hash for SmbiosType3
impl Hash for SmbiosType3
Source§impl Ord for SmbiosType3
impl Ord for SmbiosType3
Source§fn cmp(&self, other: &SmbiosType3) -> Ordering
fn cmp(&self, other: &SmbiosType3) -> 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 SmbiosType3
impl PartialEq for SmbiosType3
Source§impl PartialOrd for SmbiosType3
impl PartialOrd for SmbiosType3
Source§impl ToCommand for SmbiosType3
impl ToCommand for SmbiosType3
Source§fn to_args(&self) -> Vec<String>
fn to_args(&self) -> Vec<String>
Convert to a type suitable to pass to
std::process::Command::args()fn has_args(&self) -> bool
Source§fn command(&self) -> String
fn command(&self) -> String
Convert to a type suitable to pass to
std::process::Command::new()Source§fn to_command(&self) -> Vec<String>
fn to_command(&self) -> Vec<String>
Construct the full command in keep in pieces
Source§fn to_single_command(&self) -> String
fn to_single_command(&self) -> String
Construct the full command as a single
StringSource§fn to_single_arg(&self) -> String
fn to_single_arg(&self) -> String
Construct only the args as a single
Stringimpl Eq for SmbiosType3
impl StructuralPartialEq for SmbiosType3
Auto Trait Implementations§
impl Freeze for SmbiosType3
impl RefUnwindSafe for SmbiosType3
impl Send for SmbiosType3
impl Sync for SmbiosType3
impl Unpin for SmbiosType3
impl UnsafeUnpin for SmbiosType3
impl UnwindSafe for SmbiosType3
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