pub struct StructureField {
pub name: String,
pub ty: String,
pub is_explicit: bool,
pub default: Option<String>,
}Expand description
Field declaration for structures and classes
Fields§
§name: StringField name
ty: StringField type
is_explicit: boolWhether field is explicit or implicit
default: Option<String>Default value (if any)
Trait Implementations§
Source§impl Clone for StructureField
impl Clone for StructureField
Source§fn clone(&self) -> StructureField
fn clone(&self) -> StructureField
Returns a duplicate of the value. Read more
1.0.0 · 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 StructureField
impl Debug for StructureField
Source§impl PartialEq for StructureField
impl PartialEq for StructureField
impl StructuralPartialEq for StructureField
Auto Trait Implementations§
impl Freeze for StructureField
impl RefUnwindSafe for StructureField
impl Send for StructureField
impl Sync for StructureField
impl Unpin for StructureField
impl UnsafeUnpin for StructureField
impl UnwindSafe for StructureField
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