pub struct FunctionArgSchema {
pub name: String,
pub ty: Option<TypeSchema>,
pub annotations: Option<FnArgAnnotations>,
}Fields§
§name: String§ty: Option<TypeSchema>§annotations: Option<FnArgAnnotations>Trait Implementations§
Source§impl Clone for FunctionArgSchema
impl Clone for FunctionArgSchema
Source§fn clone(&self) -> FunctionArgSchema
fn clone(&self) -> FunctionArgSchema
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FunctionArgSchema
impl Debug for FunctionArgSchema
Source§impl Into<TokenStream> for FunctionArgSchema
impl Into<TokenStream> for FunctionArgSchema
Source§fn into(self) -> TokenStream
fn into(self) -> TokenStream
Convert a function argument schema into tokens used by the procedural macro.
Auto Trait Implementations§
impl Freeze for FunctionArgSchema
impl RefUnwindSafe for FunctionArgSchema
impl Send for FunctionArgSchema
impl Sync for FunctionArgSchema
impl Unpin for FunctionArgSchema
impl UnwindSafe for FunctionArgSchema
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