#[non_exhaustive]pub struct SolverTableUnits {
pub power: String,
pub voltage: String,
pub angle: String,
pub impedance: String,
pub admittance: String,
pub dense_index_base: String,
}Expand description
Units carried by NormalizedSolverTables.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.power: String§voltage: String§angle: String§impedance: String§admittance: String§dense_index_base: StringTrait Implementations§
Source§impl Clone for SolverTableUnits
impl Clone for SolverTableUnits
Source§fn clone(&self) -> SolverTableUnits
fn clone(&self) -> SolverTableUnits
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 SolverTableUnits
impl Debug for SolverTableUnits
Source§impl Default for SolverTableUnits
impl Default for SolverTableUnits
Source§impl<'de> Deserialize<'de> for SolverTableUnits
impl<'de> Deserialize<'de> for SolverTableUnits
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 SolverTableUnits
impl PartialEq for SolverTableUnits
Source§impl Serialize for SolverTableUnits
impl Serialize for SolverTableUnits
impl Eq for SolverTableUnits
impl StructuralPartialEq for SolverTableUnits
Auto Trait Implementations§
impl Freeze for SolverTableUnits
impl RefUnwindSafe for SolverTableUnits
impl Send for SolverTableUnits
impl Sync for SolverTableUnits
impl Unpin for SolverTableUnits
impl UnsafeUnpin for SolverTableUnits
impl UnwindSafe for SolverTableUnits
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more