pub struct FieldsWithAttribute {
pub type_and_fields: Vec<TypeAndField>,
pub attributes: BTreeMap<String, Option<String>>,
}
Fields§
§type_and_fields: Vec<TypeAndField>
§attributes: BTreeMap<String, Option<String>>
Implementations§
Trait Implementations§
Source§impl Clone for FieldsWithAttribute
impl Clone for FieldsWithAttribute
Source§fn clone(&self) -> FieldsWithAttribute
fn clone(&self) -> FieldsWithAttribute
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 FieldsWithAttribute
impl Debug for FieldsWithAttribute
Source§impl Default for FieldsWithAttribute
impl Default for FieldsWithAttribute
Source§fn default() -> FieldsWithAttribute
fn default() -> FieldsWithAttribute
Returns the “default value” for a type. Read more
Source§impl Hash for FieldsWithAttribute
impl Hash for FieldsWithAttribute
Source§impl Ord for FieldsWithAttribute
impl Ord for FieldsWithAttribute
Source§fn cmp(&self, other: &FieldsWithAttribute) -> Ordering
fn cmp(&self, other: &FieldsWithAttribute) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FieldsWithAttribute
impl PartialEq for FieldsWithAttribute
Source§impl PartialOrd for FieldsWithAttribute
impl PartialOrd for FieldsWithAttribute
impl Eq for FieldsWithAttribute
impl StructuralPartialEq for FieldsWithAttribute
Auto Trait Implementations§
impl Freeze for FieldsWithAttribute
impl RefUnwindSafe for FieldsWithAttribute
impl Send for FieldsWithAttribute
impl Sync for FieldsWithAttribute
impl Unpin for FieldsWithAttribute
impl UnwindSafe for FieldsWithAttribute
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