pub struct StructDef {
pub name: String,
pub fields: Vec<FieldDef>,
}Expand description
A struct generated from an xs:complexType with an xs:sequence.
Fields§
§name: StringThe Rust struct name (identical to the XSD type name; already PascalCase).
fields: Vec<FieldDef>Ordered list of struct fields.
Trait Implementations§
impl StructuralPartialEq for StructDef
Auto Trait Implementations§
impl Freeze for StructDef
impl RefUnwindSafe for StructDef
impl Send for StructDef
impl Sync for StructDef
impl Unpin for StructDef
impl UnsafeUnpin for StructDef
impl UnwindSafe for StructDef
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