pub struct EntityBody {
pub fields: Vec<FieldDecl>,
}Expand description
Typed body of an entity declaration (ADR-013).
Fields§
§fields: Vec<FieldDecl>Trait Implementations§
Source§impl Clone for EntityBody
impl Clone for EntityBody
Source§fn clone(&self) -> EntityBody
fn clone(&self) -> EntityBody
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 EntityBody
impl Debug for EntityBody
Source§impl<'de> Deserialize<'de> for EntityBody
impl<'de> Deserialize<'de> for EntityBody
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&EntityBody> for EntityBody
impl From<&EntityBody> for EntityBody
Source§fn from(b: &EntityBody) -> Self
fn from(b: &EntityBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EntityBody
impl RefUnwindSafe for EntityBody
impl Send for EntityBody
impl Sync for EntityBody
impl Unpin for EntityBody
impl UnsafeUnpin for EntityBody
impl UnwindSafe for EntityBody
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