pub struct HirField {
pub ty: Ty,
pub optional: bool,
pub doc: Option<Doc>,
pub example: Option<Value>,
pub flatten: bool,
}
Fields§
§ty: Ty
§optional: bool
§doc: Option<Doc>
§example: Option<Value>
§flatten: bool
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HirField
impl RefUnwindSafe for HirField
impl Send for HirField
impl Sync for HirField
impl Unpin for HirField
impl UnwindSafe for HirField
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