Struct juniper::meta::UnionMeta [−][src]
pub struct UnionMeta<'a> { /* fields omitted */ }
Expand description
Union type metadata
Implementations
impl<'a> UnionMeta<'a>
[src]
impl<'a> UnionMeta<'a>
[src]pub fn new(name: Cow<'a, str>, of_types: &[Type<'_>]) -> UnionMeta<'a>
[src]
pub fn new(name: Cow<'a, str>, of_types: &[Type<'_>]) -> UnionMeta<'a>
[src]Build a new union type with the specified name and possible types
pub fn description(self, description: &str) -> UnionMeta<'a>
[src]
pub fn description(self, description: &str) -> UnionMeta<'a>
[src]Set the description of the type
If a description was provided prior to calling this method, it will be overwritten.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for UnionMeta<'a>
impl<'a> Send for UnionMeta<'a>
impl<'a> Sync for UnionMeta<'a>
impl<'a> Unpin for UnionMeta<'a>
impl<'a> UnwindSafe for UnionMeta<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,