pub struct SeedDirective {
pub seed: SeedDirectiveType,
}Fields§
§seed: SeedDirectiveTypeImplementations§
Source§impl SeedDirective
impl SeedDirective
pub fn parse(meta: &Meta, ctx: &AttributeContext<'_>) -> Result<Self>
Trait Implementations§
Source§impl Debug for SeedDirective
impl Debug for SeedDirective
Source§impl From<SeedDirective> for CodamaDirective
impl From<SeedDirective> for CodamaDirective
Source§fn from(value: SeedDirective) -> Self
fn from(value: SeedDirective) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SeedDirective
impl PartialEq for SeedDirective
Source§impl<'a> TryFrom<&'a Attribute<'a>> for &'a SeedDirective
impl<'a> TryFrom<&'a Attribute<'a>> for &'a SeedDirective
Source§impl<'a> TryFrom<&'a CodamaAttribute<'a>> for &'a SeedDirective
impl<'a> TryFrom<&'a CodamaAttribute<'a>> for &'a SeedDirective
Source§type Error = CodamaError
type Error = CodamaError
The type returned in the event of a conversion error.
impl StructuralPartialEq for SeedDirective
Auto Trait Implementations§
impl Freeze for SeedDirective
impl RefUnwindSafe for SeedDirective
impl Send for SeedDirective
impl Sync for SeedDirective
impl Unpin for SeedDirective
impl UnwindSafe for SeedDirective
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