pub struct SmbiosType11Builder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build()
.
Implementations§
Source§impl<S: State> SmbiosType11Builder<S>
impl<S: State> SmbiosType11Builder<S>
Sourcepub fn build(self) -> SmbiosType11where
S: IsComplete,
pub fn build(self) -> SmbiosType11where
S: IsComplete,
Finish building and return the requested object
Sourcepub fn value(self, value: String) -> SmbiosType11Builder<SetValue<S>>where
S::Value: IsUnset,
pub fn value(self, value: String) -> SmbiosType11Builder<SetValue<S>>where
S::Value: IsUnset,
Sourcepub fn maybe_value(
self,
value: Option<String>,
) -> SmbiosType11Builder<SetValue<S>>where
S::Value: IsUnset,
pub fn maybe_value(
self,
value: Option<String>,
) -> SmbiosType11Builder<SetValue<S>>where
S::Value: IsUnset,
Sourcepub fn path(self, value: String) -> SmbiosType11Builder<SetPath<S>>where
S::Path: IsUnset,
pub fn path(self, value: String) -> SmbiosType11Builder<SetPath<S>>where
S::Path: IsUnset,
Sourcepub fn maybe_path(
self,
value: Option<String>,
) -> SmbiosType11Builder<SetPath<S>>where
S::Path: IsUnset,
pub fn maybe_path(
self,
value: Option<String>,
) -> SmbiosType11Builder<SetPath<S>>where
S::Path: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for SmbiosType11Builder<S>
impl<S> RefUnwindSafe for SmbiosType11Builder<S>
impl<S> Send for SmbiosType11Builder<S>
impl<S> Sync for SmbiosType11Builder<S>
impl<S> Unpin for SmbiosType11Builder<S>
impl<S> UnwindSafe for SmbiosType11Builder<S>
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