pub struct TagMetadata {
pub data_type: u16,
pub size: u32,
pub is_array: bool,
pub dimensions: Vec<u32>,
pub permissions: TagPermissions,
pub scope: TagScope,
pub last_access: Instant,
pub array_info: Option<ArrayInfo>,
pub last_updated: Instant,
}Expand description
Metadata for a PLC tag
Fields§
§data_type: u16The data type of the tag
size: u32Size of the tag in bytes
is_array: boolWhether the tag is an array
dimensions: Vec<u32>Array dimensions if applicable
permissions: TagPermissionsAccess permissions for the tag
scope: TagScopeScope of the tag
last_access: InstantLast time this tag was accessed
array_info: Option<ArrayInfo>§last_updated: InstantTrait Implementations§
Source§impl Clone for TagMetadata
impl Clone for TagMetadata
Source§fn clone(&self) -> TagMetadata
fn clone(&self) -> TagMetadata
Returns a duplicate 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 TagMetadata
impl RefUnwindSafe for TagMetadata
impl Send for TagMetadata
impl Sync for TagMetadata
impl Unpin for TagMetadata
impl UnwindSafe for TagMetadata
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