pub struct DataConstructor {
pub name: String,
pub fields: Vec<String>,
}Fields§
§name: String§fields: Vec<String>Trait Implementations§
Source§impl Clone for DataConstructor
impl Clone for DataConstructor
Source§fn clone(&self) -> DataConstructor
fn clone(&self) -> DataConstructor
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 DataConstructor
impl Debug for DataConstructor
Source§impl PartialEq for DataConstructor
impl PartialEq for DataConstructor
impl StructuralPartialEq for DataConstructor
Auto Trait Implementations§
impl Freeze for DataConstructor
impl RefUnwindSafe for DataConstructor
impl Send for DataConstructor
impl Sync for DataConstructor
impl Unpin for DataConstructor
impl UnwindSafe for DataConstructor
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