pub fn new(name: &str, fields: &[Field]) -> Structure {
        Structure {
            name: name.into(),
            fields: fields.into(),
        }
    }
/// Create a new Structure with the given name.
Create a new Structure with the given name.
Create a new Structure with the given name .
pub fn new(name: &str, fields: &[Field]) -> Structure {
        Structure {
            name: name.into(),
            fields: fields.into(),
        }
    }
pub fn new ( name : & str , fields : & [ Field ] ) -> Structure { Structure { name : name . into ( ) , fields : fields . into ( ) , } }
Create a new Structure with the given name.
Create a new Structure with the given name .
name
&str
fields
&[Field]