pub struct StructType {
pub name: String,
pub extensibility: Option<Extensibility>,
pub base_type: Option<String>,
pub members: Vec<StructMember>,
}Expand description
<struct>-Definition (Spec §7.3.3.4.4).
Fields§
§name: StringStruct-Name (Attribut name).
extensibility: Option<Extensibility>Optionaler Extensibility-Mode.
base_type: Option<String>Optionaler Base-Struct (Attribut baseType / base_type).
members: Vec<StructMember>Member in Dokument-Reihenfolge.
Trait Implementations§
Source§impl Clone for StructType
impl Clone for StructType
Source§fn clone(&self) -> StructType
fn clone(&self) -> StructType
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 StructType
impl Debug for StructType
Source§impl Default for StructType
impl Default for StructType
Source§fn default() -> StructType
fn default() -> StructType
Returns the “default value” for a type. Read more
Source§impl PartialEq for StructType
impl PartialEq for StructType
Source§fn eq(&self, other: &StructType) -> bool
fn eq(&self, other: &StructType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StructType
impl StructuralPartialEq for StructType
Auto Trait Implementations§
impl Freeze for StructType
impl RefUnwindSafe for StructType
impl Send for StructType
impl Sync for StructType
impl Unpin for StructType
impl UnsafeUnpin for StructType
impl UnwindSafe for StructType
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