pub struct ActionStruct {
pub name: Ident,
pub raw_struct: ItemStruct,
pub attributes: Option<ActionAttributesStruct>,
pub query_attrs: Option<Vec<(Ident, Ident)>>,
pub params_attrs: Option<Vec<(Ident, Ident)>>,
pub path_attrs: Option<PathAttributesStruct>,
}Fields§
§name: Ident§raw_struct: ItemStruct§attributes: Option<ActionAttributesStruct>§query_attrs: Option<Vec<(Ident, Ident)>>§params_attrs: Option<Vec<(Ident, Ident)>>§path_attrs: Option<PathAttributesStruct>Trait Implementations§
Source§impl Debug for ActionStruct
impl Debug for ActionStruct
Source§impl From<&ActionStruct> for TokenStream
impl From<&ActionStruct> for TokenStream
Source§fn from(action_struct: &ActionStruct) -> Self
fn from(action_struct: &ActionStruct) -> Self
Converts to this type from the input type.
Source§impl Parse for ActionStruct
impl Parse for ActionStruct
fn parse(input: ParseStream<'_>) -> ParseResult<Self>
Source§impl ToTokens for ActionStruct
impl ToTokens for ActionStruct
Source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Auto Trait Implementations§
impl !Send for ActionStruct
impl !Sync for ActionStruct
impl Freeze for ActionStruct
impl RefUnwindSafe for ActionStruct
impl Unpin for ActionStruct
impl UnsafeUnpin for ActionStruct
impl UnwindSafe for ActionStruct
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
Source§impl<T> Spanned for Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere
T: Spanned + ?Sized,
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty.