pub struct Alias {
pub name: String,
pub inner: FieldType,
}
Expand description
A type alias (e.g. type SomeType = HashMap<String, String>;
)
These are usually represented as their inner type when serialized.
Fields§
§name: String
The name of the type alias in rust.
inner: FieldType
The type that is being aliased.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Alias
impl RefUnwindSafe for Alias
impl Send for Alias
impl Sync for Alias
impl Unpin for Alias
impl UnwindSafe for Alias
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