Struct sep2_common::packages::der::StateOfChargeStatusType
source · pub struct StateOfChargeStatusType {
pub date_time: TimeType,
pub value: Percent,
}
Available on crate feature
der
only.Expand description
DER StateOfChargeStatus value: Percent data type
Fields§
§date_time: TimeType
The date and time at which the state applied.
value: Percent
The value indicating the state.
Trait Implementations§
source§impl Clone for StateOfChargeStatusType
impl Clone for StateOfChargeStatusType
source§fn clone(&self) -> StateOfChargeStatusType
fn clone(&self) -> StateOfChargeStatusType
Returns a copy 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 StateOfChargeStatusType
impl Debug for StateOfChargeStatusType
source§impl Default for StateOfChargeStatusType
impl Default for StateOfChargeStatusType
source§fn default() -> StateOfChargeStatusType
fn default() -> StateOfChargeStatusType
Returns the “default value” for a type. Read more
source§impl PartialEq<StateOfChargeStatusType> for StateOfChargeStatusType
impl PartialEq<StateOfChargeStatusType> for StateOfChargeStatusType
source§fn eq(&self, other: &StateOfChargeStatusType) -> bool
fn eq(&self, other: &StateOfChargeStatusType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for StateOfChargeStatusType
impl YaDeserialize for StateOfChargeStatusType
source§impl YaSerialize for StateOfChargeStatusType
impl YaSerialize for StateOfChargeStatusType
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Eq for StateOfChargeStatusType
impl StructuralEq for StateOfChargeStatusType
impl StructuralPartialEq for StateOfChargeStatusType
Auto Trait Implementations§
impl RefUnwindSafe for StateOfChargeStatusType
impl Send for StateOfChargeStatusType
impl Sync for StateOfChargeStatusType
impl Unpin for StateOfChargeStatusType
impl UnwindSafe for StateOfChargeStatusType
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