pub struct DynamicData<'types> {
pub meta: &'types DynamicMeta,
pub type_ident: Ident,
pub trait_ident: Ident,
pub deserializer_ident: Ident,
pub sub_traits: Option<Vec<PathData>>,
pub derived_types: Vec<DerivedType>,
}
Expand description
Contains additional information for the rendering process of a
MetaTypeVariant::Dynamic
type.
Fields§
§meta: &'types DynamicMeta
Reference to the original type information.
type_ident: Ident
The identifier of the rendered type.
trait_ident: Ident
The identifier of the trait that needs to be implemented by the derived types.
deserializer_ident: Ident
Identifier of the deserializer for this type.
sub_traits: Option<Vec<PathData>>
List of additional traits that need to be implemented by the derived types (if this type was inherited from another dynamic type).
derived_types: Vec<DerivedType>
List of derived types.
Trait Implementations§
Auto Trait Implementations§
impl<'types> Freeze for DynamicData<'types>
impl<'types> RefUnwindSafe for DynamicData<'types>
impl<'types> !Send for DynamicData<'types>
impl<'types> !Sync for DynamicData<'types>
impl<'types> Unpin for DynamicData<'types>
impl<'types> UnwindSafe for DynamicData<'types>
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