pub struct PrimaryModule {
pub manufacturer_name: String,
pub model_name: String,
pub maximum_power: Power,
pub temperature_coef: f32,
}
Expand description
The information about the model of the primary module of the site
Fields§
§manufacturer_name: String
§model_name: String
§maximum_power: Power
§temperature_coef: f32
Trait Implementations§
Source§impl Clone for PrimaryModule
impl Clone for PrimaryModule
Source§fn clone(&self) -> PrimaryModule
fn clone(&self) -> PrimaryModule
Returns a duplicate of the value. Read more
1.0.0 · 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 PrimaryModule
impl Debug for PrimaryModule
Source§impl<'de> Deserialize<'de> for PrimaryModule
impl<'de> Deserialize<'de> for PrimaryModule
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
Auto Trait Implementations§
impl Freeze for PrimaryModule
impl !RefUnwindSafe for PrimaryModule
impl Send for PrimaryModule
impl Sync for PrimaryModule
impl Unpin for PrimaryModule
impl !UnwindSafe for PrimaryModule
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