Struct espr::ast::EntityBody
source · [−]pub struct EntityBody {
pub attributes: Vec<EntityAttribute>,
pub derive_clause: Option<DeriveClause>,
pub inverse_clause: Option<InverseClause>,
pub unique_clause: Option<UniqueClause>,
pub where_clause: Option<WhereClause>,
}
Expand description
Intermediate output of entity_body
Fields
attributes: Vec<EntityAttribute>
derive_clause: Option<DeriveClause>
inverse_clause: Option<InverseClause>
unique_clause: Option<UniqueClause>
where_clause: Option<WhereClause>
Trait Implementations
sourceimpl Clone for EntityBody
impl Clone for EntityBody
sourcefn clone(&self) -> EntityBody
fn clone(&self) -> EntityBody
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EntityBody
impl Debug for EntityBody
sourceimpl PartialEq<EntityBody> for EntityBody
impl PartialEq<EntityBody> for EntityBody
sourcefn eq(&self, other: &EntityBody) -> bool
fn eq(&self, other: &EntityBody) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EntityBody) -> bool
fn ne(&self, other: &EntityBody) -> bool
This method tests for !=
.
impl StructuralPartialEq for EntityBody
Auto Trait Implementations
impl RefUnwindSafe for EntityBody
impl Send for EntityBody
impl Sync for EntityBody
impl Unpin for EntityBody
impl UnwindSafe for EntityBody
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more