pub enum SeedDirectiveType {
Linked(String),
Variable {
name: String,
type: Resolvable<TypeNode>,
},
Constant {
type: Resolvable<TypeNode>,
value: Resolvable<ValueNode>,
},
}Variants§
Linked(String)
A seed that references a field by name. The type is inferred from the field.
Variable
A variable seed with a name and type (which may be a plugin directive).
Constant
A constant seed with a type and value (which may be plugin directives).
Trait Implementations§
Source§impl Debug for SeedDirectiveType
impl Debug for SeedDirectiveType
Source§impl PartialEq for SeedDirectiveType
impl PartialEq for SeedDirectiveType
Source§fn eq(&self, other: &SeedDirectiveType) -> bool
fn eq(&self, other: &SeedDirectiveType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SeedDirectiveType
Auto Trait Implementations§
impl !Send for SeedDirectiveType
impl !Sync for SeedDirectiveType
impl Freeze for SeedDirectiveType
impl RefUnwindSafe for SeedDirectiveType
impl Unpin for SeedDirectiveType
impl UnsafeUnpin for SeedDirectiveType
impl UnwindSafe for SeedDirectiveType
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