pub struct Argument {
pub type_info: TypeInfo,
pub name: Option<String>,
pub unit: Option<String>,
pub fixed_point: Option<FixedPoint>,
pub value: Value,
}
Expand description
Represents an argument in the payload of a DLT message.
Each argument consists of the type-info and a data payload.
This payload contains the value of the variable (i.e. the debug
information of an application). In addition to the variable value
itself, it is needed to provide information like size and type
of the variable. This information is contained in the type_info
field.
Fields§
§type_info: TypeInfo
§name: Option<String>
§unit: Option<String>
§fixed_point: Option<FixedPoint>
§value: Value
Implementations§
Trait Implementations§
impl StructuralPartialEq for Argument
Auto Trait Implementations§
impl Freeze for Argument
impl RefUnwindSafe for Argument
impl Send for Argument
impl Sync for Argument
impl Unpin for Argument
impl UnwindSafe for Argument
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