pub struct MappedSpec {
pub name: String,
pub fields: Vec<FieldSpec>,
pub doc: Option<String>,
}Fields§
§name: String§fields: Vec<FieldSpec>§doc: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for MappedSpec
impl Clone for MappedSpec
Source§fn clone(&self) -> MappedSpec
fn clone(&self) -> MappedSpec
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 MappedSpec
impl Debug for MappedSpec
Source§impl PartialEq for MappedSpec
impl PartialEq for MappedSpec
Source§fn eq(&self, other: &MappedSpec) -> bool
fn eq(&self, other: &MappedSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MappedSpec
impl StructuralPartialEq for MappedSpec
Auto Trait Implementations§
impl Freeze for MappedSpec
impl RefUnwindSafe for MappedSpec
impl Send for MappedSpec
impl Sync for MappedSpec
impl Unpin for MappedSpec
impl UnsafeUnpin for MappedSpec
impl UnwindSafe for MappedSpec
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