pub struct PacketTemplateField {
pub id_text_index: TextIndex,
pub name_localized_text_index: LocalizedTextIndex,
pub unit_id: UnitId,
pub precision: i32,
pub type_id: TypeId,
pub parts: Vec<PacketTemplateFieldPart>,
}
Expand description
Contains information about a field with the frame data payload of a VBus packet.
Fields§
§id_text_index: TextIndex
The TextIndex
of the field’s ID.
name_localized_text_index: LocalizedTextIndex
The LocalizedTextIndex
of the field’s name.
unit_id: UnitId
The UnitId
of the field.
precision: i32
The number of fractional digits.
type_id: TypeId
The TypeId
of the field.
parts: Vec<PacketTemplateFieldPart>
The list of parts that make up the field’s value.
Trait Implementations§
Source§impl Clone for PacketTemplateField
impl Clone for PacketTemplateField
Source§fn clone(&self) -> PacketTemplateField
fn clone(&self) -> PacketTemplateField
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for PacketTemplateField
impl RefUnwindSafe for PacketTemplateField
impl Send for PacketTemplateField
impl Sync for PacketTemplateField
impl Unpin for PacketTemplateField
impl UnwindSafe for PacketTemplateField
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