pub struct KindInfo {
pub name: String,
pub archetype: EntityKind,
pub traits: TraitMask,
pub fm3: Option<String>,
pub graphql_type: Option<String>,
pub graphql_root: Option<String>,
}Expand description
What the metamodel knows about one kind.
Fields§
§name: String§archetype: EntityKind§traits: TraitMask§fm3: Option<String>FM3 class this kind maps to (Famix-Java-Entities.Record…), if any.
graphql_type: Option<String>Name of the GraphQL concept (object type) of this kind (Parameter,
TsInterface…), if its language declares one. Data, not code: the
GraphQL server builds one type per named concept.
graphql_root: Option<String>Name of the root field listing this kind (parameters); the lookup by
key is <singular>ByKey, derived by the server from graphql_type.
Trait Implementations§
impl Eq for KindInfo
impl StructuralPartialEq for KindInfo
Auto Trait Implementations§
impl Forget for KindInfo
impl Freeze for KindInfo
impl Move for KindInfo
impl RefUnwindSafe for KindInfo
impl Send for KindInfowhere
RawVecInner: Send,
impl Sync for KindInfowhere
RawVecInner: Sync,
impl Unpin for KindInfo
impl UnsafeUnpin for KindInfo
impl UnwindSafe for KindInfowhere
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