UnionType

Type Alias UnionType 

Source
pub type UnionType = UnionType<'static, String>;

Aliased Type§

pub struct UnionType {
    pub position: Pos,
    pub description: Option<String>,
    pub name: String,
    pub directives: Vec<Directive<'static, String>>,
    pub types: Vec<String>,
}

Fields§

§position: Pos§description: Option<String>§name: String§directives: Vec<Directive<'static, String>>§types: Vec<String>

Trait Implementations§

Source§

impl SubTypeExtension for UnionType

Source§

fn has_sub_type(&self, other_type_name: &str) -> bool