pub struct JsonRpcInterface {
pub ident: String,
pub module_path: Vec<String>,
pub annotations: Vec<Annotation>,
pub methods: Vec<JsonRpcMethod>,
pub watch_methods: Vec<JsonRpcWatchMethod>,
}Fields§
§ident: String§module_path: Vec<String>§annotations: Vec<Annotation>§methods: Vec<JsonRpcMethod>§watch_methods: Vec<JsonRpcWatchMethod>Trait Implementations§
Source§impl Clone for JsonRpcInterface
impl Clone for JsonRpcInterface
Source§fn clone(&self) -> JsonRpcInterface
fn clone(&self) -> JsonRpcInterface
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsonRpcInterface
impl Debug for JsonRpcInterface
Source§impl<'de> Deserialize<'de> for JsonRpcInterface
impl<'de> Deserialize<'de> for JsonRpcInterface
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for JsonRpcInterface
impl RefUnwindSafe for JsonRpcInterface
impl Send for JsonRpcInterface
impl Sync for JsonRpcInterface
impl Unpin for JsonRpcInterface
impl UnsafeUnpin for JsonRpcInterface
impl UnwindSafe for JsonRpcInterface
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