pub struct TypeStructPropInfo<'a> {
pub name: &'a str,
pub description: Option<&'a str>,
pub required: bool,
pub type_id: TypeId,
}
Expand description
Full information pertaining to a struct property.
Fields§
§name: &'a str
Name.
description: Option<&'a str>
Description.
required: bool
Whether the propertty is required.
type_id: TypeId
Identifies the schema for the property.
Auto Trait Implementations§
impl<'a> Freeze for TypeStructPropInfo<'a>
impl<'a> RefUnwindSafe for TypeStructPropInfo<'a>
impl<'a> Send for TypeStructPropInfo<'a>
impl<'a> Sync for TypeStructPropInfo<'a>
impl<'a> Unpin for TypeStructPropInfo<'a>
impl<'a> UnwindSafe for TypeStructPropInfo<'a>
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