pub struct ApiParam {
pub name: String,
pub ty: String,
}Expand description
One function parameter.
Fields§
§name: StringParameter name as declared.
ty: StringParameter type in WIT syntax.
Trait Implementations§
impl Eq for ApiParam
impl StructuralPartialEq for ApiParam
Auto Trait Implementations§
impl Freeze for ApiParam
impl RefUnwindSafe for ApiParam
impl Send for ApiParam
impl Sync for ApiParam
impl Unpin for ApiParam
impl UnsafeUnpin for ApiParam
impl UnwindSafe for ApiParam
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