pub struct OptVal {
pub val: String,
pub val_spec: OptValSpec,
}
Expand description
Option’s value description.
Fields§
§val: String
Value content
val_spec: OptValSpec
Value specifier
Trait Implementations§
source§impl PartialEq<OptVal> for OptVal
impl PartialEq<OptVal> for OptVal
impl StructuralPartialEq for OptVal
Auto Trait Implementations§
impl RefUnwindSafe for OptVal
impl Send for OptVal
impl Sync for OptVal
impl Unpin for OptVal
impl UnwindSafe for OptVal
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