pub struct Component {
pub custom_data: Option<CustomData>,
pub evse: Option<EVSE>,
pub instance: Option<String<50usize>>,
pub name: String<50usize>,
}Expand description
A physical or logical component
Fields§
§custom_data: Option<CustomData>§evse: Option<EVSE>§instance: Option<String<50usize>>Name of instance in case the component exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.
name: String<50usize>Name of the component. Name should be taken from the list of standardized component names whenever possible. Case Insensitive. strongly advised to use Camel Case.
Trait Implementations§
impl Eq for Component
impl StructuralPartialEq for Component
Auto Trait Implementations§
impl Freeze for Component
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnsafeUnpin for Component
impl UnwindSafe for Component
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