Struct sep2_common::packages::der::ConnectStatusType
source · pub struct ConnectStatusType {
pub date_time: TimeType,
pub value: ConnectStatusValue,
}
Available on crate feature
der
only.Expand description
DER ConnectStatus value (bitmap):
0 - Connected
1 - Available
2 - Operating
3 - Test
4 - Fault / Error
All other values reserved.
Fields§
§date_time: TimeType
The date and time at which the state applied.
value: ConnectStatusValue
The value indicating the state.
Trait Implementations§
source§impl Clone for ConnectStatusType
impl Clone for ConnectStatusType
source§fn clone(&self) -> ConnectStatusType
fn clone(&self) -> ConnectStatusType
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 ConnectStatusType
impl Debug for ConnectStatusType
source§impl Default for ConnectStatusType
impl Default for ConnectStatusType
source§fn default() -> ConnectStatusType
fn default() -> ConnectStatusType
Returns the “default value” for a type. Read more
source§impl PartialEq<ConnectStatusType> for ConnectStatusType
impl PartialEq<ConnectStatusType> for ConnectStatusType
source§fn eq(&self, other: &ConnectStatusType) -> bool
fn eq(&self, other: &ConnectStatusType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for ConnectStatusType
impl YaDeserialize for ConnectStatusType
source§impl YaSerialize for ConnectStatusType
impl YaSerialize for ConnectStatusType
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 ConnectStatusType
impl StructuralEq for ConnectStatusType
impl StructuralPartialEq for ConnectStatusType
Auto Trait Implementations§
impl RefUnwindSafe for ConnectStatusType
impl Send for ConnectStatusType
impl Sync for ConnectStatusType
impl Unpin for ConnectStatusType
impl UnwindSafe for ConnectStatusType
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