pub struct FieldForm {
pub ns: Option<&'static str>,
pub datatype: Option<&'static str>,
pub resource_ns: Option<&'static str>,
}Expand description
How a dataset’s files wrote one field of one class
(CimDataset::field_forms). Each part is the first the files showed;
a field written two ways keeps the first.
Fields§
§ns: Option<&'static str>The field’s namespace IRI where it is not the declared one: for a key
the class tables do not declare (conformsTo →
http://purl.org/dc/terms/), or a declared attribute written in
another namespace (an NC file’s IdentifiedObject.mRID in CIM100).
datatype: Option<&'static str>The rdf:datatype its literals carried (dcat:temporalResolution →
xsd:duration).
resource_ns: Option<&'static str>The namespace its references were cut from, when not the document’s
own (#_x) and not an enumeration’s, whose namespace the class table
holds: a PropertyReference to http://iec.ch/TC57/CIM100#Switch.open
decodes as Switch.open.
Trait Implementations§
impl Copy for FieldForm
impl Eq for FieldForm
impl StructuralPartialEq for FieldForm
Auto Trait Implementations§
impl Freeze for FieldForm
impl RefUnwindSafe for FieldForm
impl Send for FieldForm
impl Sync for FieldForm
impl Unpin for FieldForm
impl UnsafeUnpin for FieldForm
impl UnwindSafe for FieldForm
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