pub struct PowerFeedSupply {
pub value: Option<Value>,
pub label: Option<Label>,
}Fields§
§value: Option<Value>ac- AC *dc- DC
label: Option<Label>Implementations§
Source§impl PowerFeedSupply
impl PowerFeedSupply
pub fn new() -> PowerFeedSupply
Trait Implementations§
Source§impl Clone for PowerFeedSupply
impl Clone for PowerFeedSupply
Source§fn clone(&self) -> PowerFeedSupply
fn clone(&self) -> PowerFeedSupply
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 PowerFeedSupply
impl Debug for PowerFeedSupply
Source§impl Default for PowerFeedSupply
impl Default for PowerFeedSupply
Source§fn default() -> PowerFeedSupply
fn default() -> PowerFeedSupply
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PowerFeedSupply
impl<'de> Deserialize<'de> for PowerFeedSupply
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 PowerFeedSupply
impl PartialEq for PowerFeedSupply
Source§impl Serialize for PowerFeedSupply
impl Serialize for PowerFeedSupply
impl StructuralPartialEq for PowerFeedSupply
Auto Trait Implementations§
impl Freeze for PowerFeedSupply
impl RefUnwindSafe for PowerFeedSupply
impl Send for PowerFeedSupply
impl Sync for PowerFeedSupply
impl Unpin for PowerFeedSupply
impl UnwindSafe for PowerFeedSupply
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