pub struct SignedMeterValue {
pub custom_data: Option<CustomData>,
pub encoding_method: String<50usize>,
pub public_key: Option<String<2500usize>>,
pub signed_meter_data: String<32768usize>,
pub signing_method: Option<String<50usize>>,
}Expand description
Represent a signed version of the meter value.
Fields§
§custom_data: Option<CustomData>§encoding_method: String<50usize>Format used by the energy meter to encode the meter data. For example: OCMF or EDL.
public_key: Option<String<2500usize>>(2.1) Base64 encoded, sending depends on configuration variable PublicKeyWithSignedMeterValue.
signed_meter_data: String<32768usize>Base64 encoded, contains the signed data from the meter in the format specified in encodingMethod, which might contain more then just the meter value. It can contain information like timestamps, reference to a customer etc.
signing_method: Option<String<50usize>>(2.1) Method used to create the digital signature. Optional, if already included in signedMeterData. Standard values for this are defined in Appendix as SigningMethodEnumStringType.
Trait Implementations§
Source§impl Clone for SignedMeterValue
impl Clone for SignedMeterValue
Source§fn clone(&self) -> SignedMeterValue
fn clone(&self) -> SignedMeterValue
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 SignedMeterValue
impl Debug for SignedMeterValue
impl Eq for SignedMeterValue
Source§impl PartialEq for SignedMeterValue
impl PartialEq for SignedMeterValue
impl StructuralPartialEq for SignedMeterValue
Auto Trait Implementations§
impl Freeze for SignedMeterValue
impl RefUnwindSafe for SignedMeterValue
impl Send for SignedMeterValue
impl Sync for SignedMeterValue
impl Unpin for SignedMeterValue
impl UnsafeUnpin for SignedMeterValue
impl UnwindSafe for SignedMeterValue
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