pub struct TypeConfig {
pub object_id: ObjectId,
pub name: String,
pub declared_names: Vec<String>,
pub xml: String,
}Expand description
Eine <type>-Section (Spec §7.7.3.3).
Fields§
§object_id: ObjectIdObjectId fuer den OBJK_TYPE-Wrapper. Wird beim Aufrufer
deklariert oder mit ObjectId::new(raw, ObjectKind::Type)
generiert. Optional, weil §9.3 ObjectId-Ableitung via
MD5-Hash erlaubt — siehe derive_object_id.
name: StringType-Name (top-level struct/enum/union oder Module).
declared_names: Vec<String>Alle in dieser Section deklarierten Type-Namen (rekursiv ueber
<module>/<struct>/<enum>/<union>/<typedef>/
<bitmask>/<bitset>). Topics duerfen Namen aus dieser Liste
referenzieren — entspricht der DDS-XML 1.0 §7.3.3-Sicht.
xml: StringOriginal-XML der Type-Section (Substring zwischen
<type> und </type>). Wird im CREATE als
RepresentationByXmlString weitergegeben.
Trait Implementations§
Source§impl Clone for TypeConfig
impl Clone for TypeConfig
Source§fn clone(&self) -> TypeConfig
fn clone(&self) -> TypeConfig
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 TypeConfig
impl Debug for TypeConfig
Source§impl PartialEq for TypeConfig
impl PartialEq for TypeConfig
Source§fn eq(&self, other: &TypeConfig) -> bool
fn eq(&self, other: &TypeConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TypeConfig
impl StructuralPartialEq for TypeConfig
Auto Trait Implementations§
impl Freeze for TypeConfig
impl RefUnwindSafe for TypeConfig
impl Send for TypeConfig
impl Sync for TypeConfig
impl Unpin for TypeConfig
impl UnsafeUnpin for TypeConfig
impl UnwindSafe for TypeConfig
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