pub struct MetaField {
pub description: Option<String>,
pub name: Name,
pub arguments: IndexMap<Name, MetaInputValue>,
pub ty: Type,
pub deprecation: Deprecation,
pub service: Option<String>,
pub requires: Option<KeyFields>,
pub provides: Option<KeyFields>,
}
Fields§
§description: Option<String>
§name: Name
§arguments: IndexMap<Name, MetaInputValue>
§ty: Type
§deprecation: Deprecation
§service: Option<String>
§requires: Option<KeyFields>
§provides: Option<KeyFields>
Trait Implementations§
impl Eq for MetaField
impl StructuralPartialEq for MetaField
Auto Trait Implementations§
impl Freeze for MetaField
impl RefUnwindSafe for MetaField
impl Send for MetaField
impl Sync for MetaField
impl Unpin for MetaField
impl UnwindSafe for MetaField
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.