pub struct TagAttributes {
pub name: String,
pub data_type: u16,
pub data_type_name: String,
pub dimensions: Vec<u32>,
pub permissions: TagPermissions,
pub scope: TagScope,
pub template_instance_id: Option<u32>,
pub size: u32,
}Expand description
Tag attributes from PLC
Fields§
§name: StringFully qualified symbolic tag name.
data_type: u16CIP data type code.
data_type_name: StringHuman-readable data type name.
dimensions: Vec<u32>Declared array dimensions, or an empty vector for a scalar.
permissions: TagPermissionsReported access permissions.
scope: TagScopeController or program scope.
template_instance_id: Option<u32>Template instance id for a structured value, when known.
size: u32Encoded tag size in bytes.
Trait Implementations§
Source§impl Clone for TagAttributes
impl Clone for TagAttributes
Source§fn clone(&self) -> TagAttributes
fn clone(&self) -> TagAttributes
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 TagAttributes
impl Debug for TagAttributes
Source§impl From<&TagAttributes> for SchemaTag
impl From<&TagAttributes> for SchemaTag
Source§fn from(value: &TagAttributes) -> Self
fn from(value: &TagAttributes) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TagAttributes
impl RefUnwindSafe for TagAttributes
impl Send for TagAttributes
impl Sync for TagAttributes
impl Unpin for TagAttributes
impl UnsafeUnpin for TagAttributes
impl UnwindSafe for TagAttributes
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