Struct sweet_potator::recipe::ingredient::Quantity
source · [−]pub struct Quantity {
pub value: QuantityValue,
pub unit: Option<String>,
pub note: Option<String>,
}
Fields
value: QuantityValue
unit: Option<String>
note: Option<String>
Trait Implementations
sourceimpl ParseFromStr for Quantity
impl ParseFromStr for Quantity
fn parse_from_str(s: &str) -> ParseResult<Self>
Auto Trait Implementations
impl RefUnwindSafe for Quantity
impl Send for Quantity
impl Sync for Quantity
impl Unpin for Quantity
impl UnwindSafe for Quantity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more