pub struct JsonRpcField {
pub name: String,
pub wire_name: String,
pub ty: TypeSpec,
pub annotations: Vec<Annotation>,
pub required: bool,
pub source: JsonRpcFieldSource,
}Fields§
§name: String§wire_name: String§ty: TypeSpec§annotations: Vec<Annotation>§required: bool§source: JsonRpcFieldSourceTrait Implementations§
Source§impl Clone for JsonRpcField
impl Clone for JsonRpcField
Source§fn clone(&self) -> JsonRpcField
fn clone(&self) -> JsonRpcField
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 JsonRpcField
impl Debug for JsonRpcField
Source§impl<'de> Deserialize<'de> for JsonRpcField
impl<'de> Deserialize<'de> for JsonRpcField
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 JsonRpcField
impl RefUnwindSafe for JsonRpcField
impl Send for JsonRpcField
impl Sync for JsonRpcField
impl Unpin for JsonRpcField
impl UnsafeUnpin for JsonRpcField
impl UnwindSafe for JsonRpcField
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