pub struct ProfileGenericAttrs {
pub logical_name: LogicalName,
pub buffer: Vec<Choice>,
pub capture_objects: Vec<CaptureObjectDefinition>,
pub capture_period: u32,
pub sort_method: SortMethod,
pub sort_object: Option<CaptureObjectDefinition>,
pub entries_in_use: u32,
pub profile_entries: u32,
}Expand description
Profile generic class (class_id = 7) attributes.
- attr 1: logical_name (octet-string)
- attr 2: buffer (array)
- attr 3: capture_objects (array)
- attr 4: capture_period (double-long-unsigned)
- attr 5: sort_method (enum)
- attr 6: sort_object (capture_object_definition)
- attr 7: entries_in_use (double-long-unsigned)
- attr 8: profile_entries (double-long-unsigned)
Fields§
§logical_name: LogicalNameOBIS logical name (attribute 1).
buffer: Vec<Choice>Buffer of captured data records (attribute 2).
capture_objects: Vec<CaptureObjectDefinition>Capture objects definition (attribute 3).
capture_period: u32Capture period in seconds (attribute 4).
sort_method: SortMethodSort method (attribute 5).
sort_object: Option<CaptureObjectDefinition>Sort object (attribute 6).
entries_in_use: u32Number of entries currently in buffer (attribute 7).
profile_entries: u32Maximum number of profile entries (attribute 8).
Trait Implementations§
Source§impl Clone for ProfileGenericAttrs
impl Clone for ProfileGenericAttrs
Source§fn clone(&self) -> ProfileGenericAttrs
fn clone(&self) -> ProfileGenericAttrs
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 ProfileGenericAttrs
impl Debug for ProfileGenericAttrs
Source§impl<'de> Deserialize<'de> for ProfileGenericAttrs
impl<'de> Deserialize<'de> for ProfileGenericAttrs
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
Auto Trait Implementations§
impl Freeze for ProfileGenericAttrs
impl RefUnwindSafe for ProfileGenericAttrs
impl Send for ProfileGenericAttrs
impl Sync for ProfileGenericAttrs
impl Unpin for ProfileGenericAttrs
impl UnsafeUnpin for ProfileGenericAttrs
impl UnwindSafe for ProfileGenericAttrs
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