pub struct SignedMeterValue {
pub custom_data: Option<CustomData>,
pub encoding_method: String<50usize>,
pub public_key: String<2500usize>,
pub signed_meter_data: String<2500usize>,
pub signing_method: String<50usize>,
}Expand description
Represent a signed version of the meter value.
Fields§
§custom_data: Option<CustomData>§encoding_method: String<50usize>Method used to encode the meter values before applying the digital signature algorithm.
public_key: String<2500usize>Base64 encoded, sending depends on configuration variable PublicKeyWithSignedMeterValue.
signed_meter_data: String<2500usize>Base64 encoded, contains the signed data which might contain more then just the meter value. It can contain information like timestamps, reference to a customer etc.
signing_method: String<50usize>Method used to create the digital signature.
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