pub enum PeersMethods {}Expand description
Peers’ own methods are named, not a Rust enum of the macro’s.
Trait Implementations§
Source§impl Clone for PeersMethods
impl Clone for PeersMethods
impl Copy for PeersMethods
Source§impl Debug for PeersMethods
impl Debug for PeersMethods
Source§impl JsonSchema for PeersMethods
impl JsonSchema for PeersMethods
Source§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl MethodEnumSchema for PeersMethods
impl MethodEnumSchema for PeersMethods
Source§fn method_names() -> &'static [&'static str]
fn method_names() -> &'static [&'static str]
Get all method names as static strings
Source§fn schema_with_consts() -> Value
fn schema_with_consts() -> Value
Generate schema with const values for method discriminators Read more
Auto Trait Implementations§
impl Forget for PeersMethods
impl Freeze for PeersMethods
impl RefUnwindSafe for PeersMethods
impl Send for PeersMethods
impl Sync for PeersMethods
impl Unpin for PeersMethods
impl UnsafeUnpin for PeersMethods
impl UnwindSafe for PeersMethods
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