pub struct PlotBuildStockView {
pub template_id: String,
pub display_name: String,
pub quantity: u32,
}Expand description
Available qty of one template in the eligible build material pool.
Fields§
§template_id: String§display_name: String§quantity: u32Trait Implementations§
Source§impl Clone for PlotBuildStockView
impl Clone for PlotBuildStockView
Source§fn clone(&self) -> PlotBuildStockView
fn clone(&self) -> PlotBuildStockView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlotBuildStockView
impl Debug for PlotBuildStockView
Source§impl Default for PlotBuildStockView
impl Default for PlotBuildStockView
Source§fn default() -> PlotBuildStockView
fn default() -> PlotBuildStockView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlotBuildStockView
impl<'de> Deserialize<'de> for PlotBuildStockView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PlotBuildStockView
impl PartialEq for PlotBuildStockView
Source§impl Serialize for PlotBuildStockView
impl Serialize for PlotBuildStockView
impl StructuralPartialEq for PlotBuildStockView
Auto Trait Implementations§
impl Freeze for PlotBuildStockView
impl RefUnwindSafe for PlotBuildStockView
impl Send for PlotBuildStockView
impl Sync for PlotBuildStockView
impl Unpin for PlotBuildStockView
impl UnsafeUnpin for PlotBuildStockView
impl UnwindSafe for PlotBuildStockView
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