pub struct ArgInfo {
pub name: &'static str,
pub type_name: &'static str,
}Expand description
Information about an argument to an RPC method.
Fields§
§name: &'static strThe argument’s name (e.g., “a”, “name”).
type_name: &'static strThe argument’s type as a string (e.g., “i32”, “String”).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArgInfo
impl RefUnwindSafe for ArgInfo
impl Send for ArgInfo
impl Sync for ArgInfo
impl Unpin for ArgInfo
impl UnwindSafe for ArgInfo
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