pub struct MethodDoc {
pub name: String,
pub summary: String,
pub tags: Vec<String>,
pub deprecation: Option<String>,
pub params_schema: Schema,
pub result_schema: Schema,
}Expand description
Captures documentation for a JSON-RPC method.
Fields§
§name: String§summary: String§deprecation: Option<String>§params_schema: Schema§result_schema: SchemaImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MethodDoc
impl RefUnwindSafe for MethodDoc
impl Send for MethodDoc
impl Sync for MethodDoc
impl Unpin for MethodDoc
impl UnsafeUnpin for MethodDoc
impl UnwindSafe for MethodDoc
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