pub struct ObjectUnits {
pub power: Option<String>,
pub angle: Option<String>,
pub base_mva: Option<f64>,
}Fields§
§power: Option<String>§angle: Option<String>§base_mva: Option<f64>Trait Implementations§
Source§impl Clone for ObjectUnits
impl Clone for ObjectUnits
Source§fn clone(&self) -> ObjectUnits
fn clone(&self) -> ObjectUnits
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 ObjectUnits
impl Debug for ObjectUnits
Source§impl Default for ObjectUnits
impl Default for ObjectUnits
Source§fn default() -> ObjectUnits
fn default() -> ObjectUnits
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ObjectUnits
impl<'de> Deserialize<'de> for ObjectUnits
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 JsonSchema for ObjectUnits
impl JsonSchema for ObjectUnits
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ObjectUnits
impl PartialEq for ObjectUnits
Source§impl Serialize for ObjectUnits
impl Serialize for ObjectUnits
impl StructuralPartialEq for ObjectUnits
Auto Trait Implementations§
impl Freeze for ObjectUnits
impl RefUnwindSafe for ObjectUnits
impl Send for ObjectUnits
impl Sync for ObjectUnits
impl Unpin for ObjectUnits
impl UnsafeUnpin for ObjectUnits
impl UnwindSafe for ObjectUnits
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