pub struct TypeField {
pub name: CompactString,
pub ty: TypeExpr,
pub optional: bool,
}Fields§
§name: CompactString§ty: TypeExpr§optional: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for TypeField
impl<'de> Deserialize<'de> for TypeField
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
impl Eq for TypeField
impl StructuralPartialEq for TypeField
Auto Trait Implementations§
impl Freeze for TypeField
impl RefUnwindSafe for TypeField
impl Send for TypeField
impl Sync for TypeField
impl Unpin for TypeField
impl UnsafeUnpin for TypeField
impl UnwindSafe for TypeField
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