pub struct TypeView {
pub name: String,
pub kind: String,
pub members: Vec<TypeMemberView>,
}Expand description
TypeView A named type in the inspected schema.
Fields§
§name: StringSchema name.
kind: StringType category.
members: Vec<TypeMemberView>Declared fields, variants or collection roles.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TypeView
impl<'de> Deserialize<'de> for TypeView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for TypeView
impl Freeze for TypeView
impl Move for TypeView
impl RefUnwindSafe for TypeView
impl Send for TypeViewwhere
RawVecInner: Send,
impl Sync for TypeViewwhere
RawVecInner: Sync,
impl Unpin for TypeView
impl UnsafeUnpin for TypeViewwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<TypeMemberView>: UnsafeUnpin,
impl UnwindSafe for TypeViewwhere
RawVecInner: UnwindSafe,
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