pub struct TypeDef {
pub url: String,
pub name: String,
pub namespace: Option<String>,
pub xml_name: Option<String>,
pub base: Option<String>,
pub is_abstract: bool,
pub elements: Vec<Element>,
}Expand description
A type of the model: a data type or a class.
Fields§
§url: String§name: StringThe structure’s name: what xsi:type names it (IVL_TS).
namespace: Option<String>§xml_name: Option<String>The element name when the type is a document root (ClinicalDocument).
base: Option<String>§is_abstract: bool§elements: Vec<Element>All elements, inherited ones included, in definition order.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeDef
impl RefUnwindSafe for TypeDef
impl Send for TypeDef
impl Sync for TypeDef
impl Unpin for TypeDef
impl UnsafeUnpin for TypeDef
impl UnwindSafe for TypeDef
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