pub struct MetadataProperty {
pub name: String,
pub data_type: TdmsDataType,
pub value: TDMSValue,
}Expand description
MetadataProperty is a key/value pair associated with a MetadataObject
Fields§
§name: String§data_type: TdmsDataType§value: TDMSValueImplementations§
Source§impl MetadataProperty
impl MetadataProperty
Sourcepub fn from_reader<R: Read + Seek>(
endianness: Endianness,
r: &mut R,
) -> Result<Self, TdmsError>
pub fn from_reader<R: Read + Seek>( endianness: Endianness, r: &mut R, ) -> Result<Self, TdmsError>
from_reader accepts an open reader and attempts to read metadata properties from the currently selected segment and metadata object. Note that you must have read the metadata object’s lead in information prior to using this function
Trait Implementations§
Source§impl Clone for MetadataProperty
impl Clone for MetadataProperty
Source§fn clone(&self) -> MetadataProperty
fn clone(&self) -> MetadataProperty
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 moreAuto Trait Implementations§
impl Freeze for MetadataProperty
impl RefUnwindSafe for MetadataProperty
impl Send for MetadataProperty
impl Sync for MetadataProperty
impl Unpin for MetadataProperty
impl UnsafeUnpin for MetadataProperty
impl UnwindSafe for MetadataProperty
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