pub struct MaterialModel {
pub material_id: String,
pub name: String,
pub mechanical: MaterialMechanicalModel,
pub thermal: MaterialThermalModel,
pub acoustic: Option<MaterialAcousticModel>,
pub electrical: Option<MaterialElectricalModel>,
pub plastic: Option<MaterialPlasticModel>,
}Fields§
§material_id: String§name: String§mechanical: MaterialMechanicalModel§thermal: MaterialThermalModel§acoustic: Option<MaterialAcousticModel>§electrical: Option<MaterialElectricalModel>§plastic: Option<MaterialPlasticModel>Trait Implementations§
Source§impl Clone for MaterialModel
impl Clone for MaterialModel
Source§fn clone(&self) -> MaterialModel
fn clone(&self) -> MaterialModel
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 MaterialModel
impl Debug for MaterialModel
Source§impl<'de> Deserialize<'de> for MaterialModel
impl<'de> Deserialize<'de> for MaterialModel
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 MaterialModel
impl PartialEq for MaterialModel
Source§fn eq(&self, other: &MaterialModel) -> bool
fn eq(&self, other: &MaterialModel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MaterialModel
impl Serialize for MaterialModel
impl StructuralPartialEq for MaterialModel
Auto Trait Implementations§
impl Freeze for MaterialModel
impl RefUnwindSafe for MaterialModel
impl Send for MaterialModel
impl Sync for MaterialModel
impl Unpin for MaterialModel
impl UnsafeUnpin for MaterialModel
impl UnwindSafe for MaterialModel
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