pub struct Commodity {
pub symbol: String,
pub graph_index: Option<CommodityIndex>,
pub name: Option<String>,
pub note: Option<String>,
pub annotated: bool,
}
Fields§
§symbol: String
§graph_index: Option<CommodityIndex>
Index in the commodity graph.
name: Option<String>
§note: Option<String>
§annotated: bool
Implementations§
Trait Implementations§
impl StructuralPartialEq for Commodity
Auto Trait Implementations§
impl Freeze for Commodity
impl RefUnwindSafe for Commodity
impl Send for Commodity
impl Sync for Commodity
impl Unpin for Commodity
impl UnwindSafe for Commodity
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