pub struct FieldDef {
pub xml_name: String,
pub rust_name: String,
pub type_ref: TypeRef,
pub cardinality: Cardinality,
}Expand description
A single field inside a StructDef.
Fields§
§xml_name: StringOriginal XML element name (e.g. "BizMsgIdr").
rust_name: Stringsnake_case Rust field name (e.g. "biz_msg_idr").
type_ref: TypeRefResolved type reference.
cardinality: CardinalityField cardinality, derived from minOccurs/maxOccurs.
Trait Implementations§
impl StructuralPartialEq for FieldDef
Auto Trait Implementations§
impl Freeze for FieldDef
impl RefUnwindSafe for FieldDef
impl Send for FieldDef
impl Sync for FieldDef
impl Unpin for FieldDef
impl UnsafeUnpin for FieldDef
impl UnwindSafe for FieldDef
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