pub struct CreateTypeExpr {
pub name: String,
pub fields: Vec<FieldDef>,
}Fields§
§name: String§fields: Vec<FieldDef>Trait Implementations§
Source§impl Clone for CreateTypeExpr
impl Clone for CreateTypeExpr
Source§fn clone(&self) -> CreateTypeExpr
fn clone(&self) -> CreateTypeExpr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateTypeExpr
impl Debug for CreateTypeExpr
Source§impl PartialEq for CreateTypeExpr
impl PartialEq for CreateTypeExpr
Source§fn eq(&self, other: &CreateTypeExpr) -> bool
fn eq(&self, other: &CreateTypeExpr) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateTypeExpr
Auto Trait Implementations§
impl Freeze for CreateTypeExpr
impl RefUnwindSafe for CreateTypeExpr
impl Send for CreateTypeExpr
impl Sync for CreateTypeExpr
impl Unpin for CreateTypeExpr
impl UnsafeUnpin for CreateTypeExpr
impl UnwindSafe for CreateTypeExpr
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