pub struct PushSetupConfig {Show 14 fields
pub logical_name: ObisCode,
pub version: u8,
pub push_object_list: Vec<CaptureObjectDefinition>,
pub send_destination_and_method: SendDestinationAndMethod,
pub communication_window: Vec<CommunicationWindow>,
pub randomisation_start_interval: u16,
pub number_of_retries: u8,
pub repetition_delay: CosemDataType,
pub port_reference: Vec<u8>,
pub push_client_sap: i8,
pub push_protection_parameters: Vec<PushProtectionParameter>,
pub push_operation_method: u8,
pub confirmation_parameters: ConfirmationParameters,
pub last_confirmation_date_time: DateTime,
}Expand description
Configuration structure used to build a PushSetup object.
Fields§
§logical_name: ObisCodeAttribute 1: the object’s logical name (OBIS code).
version: u8Class version: 0, 1 or 2. Selects which attributes and methods are exposed.
push_object_list: Vec<CaptureObjectDefinition>Attribute 2: array of cosem_object_instance_id entries to be pushed.
send_destination_and_method: SendDestinationAndMethodAttribute 3: send_destination_and_method structure.
communication_window: Vec<CommunicationWindow>Attribute 4: array of communication windows.
randomisation_start_interval: u16Attribute 5: randomisation start interval, in seconds.
number_of_retries: u8Attribute 6: number of retries.
repetition_delay: CosemDataTypeAttribute 7 (version 2): repetition_delay structure.
port_reference: Vec<u8>Attribute 8: reference to the communication port setup object.
push_client_sap: i8Attribute 9: push client SAP.
push_protection_parameters: Vec<PushProtectionParameter>Attribute 10: array of push protection parameters.
push_operation_method: u8Attribute 11: push operation method (enum).
confirmation_parameters: ConfirmationParametersAttribute 12: confirmation_parameters structure.
last_confirmation_date_time: DateTimeAttribute 13: date-time of the last successful confirmation.
Trait Implementations§
Source§impl Clone for PushSetupConfig
impl Clone for PushSetupConfig
Source§fn clone(&self) -> PushSetupConfig
fn clone(&self) -> PushSetupConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more