pub struct EmergencyProfile {
pub emergency_profile_id: u16,
pub emergency_activation_time: Vec<u8>,
pub emergency_duration: u32,
}Expand description
emergency_profile — structure { emergency_profile_id, emergency_activation_time, emergency_duration }
Used in Limiter (attr 8).
Fields§
§emergency_profile_id: u16Emergency profile group ID.
emergency_activation_time: Vec<u8>Emergency activation time.
emergency_duration: u32Emergency duration in seconds.
Trait Implementations§
Source§impl Clone for EmergencyProfile
impl Clone for EmergencyProfile
Source§fn clone(&self) -> EmergencyProfile
fn clone(&self) -> EmergencyProfile
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 EmergencyProfile
impl Debug for EmergencyProfile
Source§impl<'de> Deserialize<'de> for EmergencyProfile
impl<'de> Deserialize<'de> for EmergencyProfile
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
impl Eq for EmergencyProfile
Source§impl From<EmergencyProfile> for CosemDataType
impl From<EmergencyProfile> for CosemDataType
Source§fn from(ep: EmergencyProfile) -> Self
fn from(ep: EmergencyProfile) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EmergencyProfile
impl PartialEq for EmergencyProfile
Source§impl Serialize for EmergencyProfile
impl Serialize for EmergencyProfile
impl StructuralPartialEq for EmergencyProfile
Source§impl TryFrom<&CosemDataType> for EmergencyProfile
impl TryFrom<&CosemDataType> for EmergencyProfile
Auto Trait Implementations§
impl Freeze for EmergencyProfile
impl RefUnwindSafe for EmergencyProfile
impl Send for EmergencyProfile
impl Sync for EmergencyProfile
impl Unpin for EmergencyProfile
impl UnsafeUnpin for EmergencyProfile
impl UnwindSafe for EmergencyProfile
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