[][src]Trait amplify_derive_helpers::ExtractAttr

pub trait ExtractAttr {
    fn singular_attr<T>(self, name: &str) -> Result<Option<SingularAttr>, Error>;
fn parametrized_attr(
        self,
        name: &str
    ) -> Result<Option<ParametrizedAttr>, Error>; }

Required methods

fn singular_attr<T>(self, name: &str) -> Result<Option<SingularAttr>, Error>[src]

fn parametrized_attr(
    self,
    name: &str
) -> Result<Option<ParametrizedAttr>, Error>
[src]

Loading content...

Implementors

impl<'a, T> ExtractAttr for T where
    T: IntoIterator<Item = &'a Attribute>, 
[src]

fn singular_attr<V>(self, name: &str) -> Result<Option<SingularAttr>, Error>[src]

Returns a SingularAttr which structure must fulfill the provided requirements - or fails with a Error otherwise. For more information check ValueReq requirements info.

fn parametrized_attr(
    self,
    name: &str
) -> Result<Option<ParametrizedAttr>, Error>
[src]

Returns a ParametrizedAttr which structure must fulfill the provided requirements - or fails with a Error otherwise. For more information check AttrReq requirements info.

Loading content...