pub struct StructType {
pub name: String,
pub fields: BTreeMap<String, WkType>,
}Expand description
Describes a structure type.
Fields§
§name: StringThe name of the struct type.
fields: BTreeMap<String, WkType>The list of fields: keys are the field names; each value is the type of the referred field.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StructType
impl !RefUnwindSafe for StructType
impl !Send for StructType
impl !Sync for StructType
impl Unpin 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