pub struct MethodParamMetadata {
pub name: String,
pub ty: u32,
}Expand description
Metadata for a single input parameter to a runtime API method / pallet view function.
Fields§
§name: StringParameter name.
ty: u32Parameter type.
Trait Implementations§
Source§impl Clone for MethodParamMetadata
impl Clone for MethodParamMetadata
Source§fn clone(&self) -> MethodParamMetadata
fn clone(&self) -> MethodParamMetadata
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for MethodParamMetadata
impl RefUnwindSafe for MethodParamMetadata
impl Send for MethodParamMetadata
impl Sync for MethodParamMetadata
impl Unpin for MethodParamMetadata
impl UnwindSafe for MethodParamMetadata
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