pub struct ValidateRequest {
pub data: String,
}Fields§
§data: StringTrait Implementations§
Source§impl Clone for ValidateRequest
impl Clone for ValidateRequest
Source§fn clone(&self) -> ValidateRequest
fn clone(&self) -> ValidateRequest
Returns a duplicate 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 moreSource§impl Debug for ValidateRequest
impl Debug for ValidateRequest
Source§impl<'de> Deserialize<'de> for ValidateRequest
impl<'de> Deserialize<'de> for ValidateRequest
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
Source§impl JsonRpcMessage for ValidateRequest
impl JsonRpcMessage for ValidateRequest
Source§fn matches_method(method: &str) -> bool
fn matches_method(method: &str) -> bool
Check if this message type matches the given method name.
Source§fn to_untyped_message(&self) -> Result<UntypedMessage, Error>
fn to_untyped_message(&self) -> Result<UntypedMessage, Error>
Convert this message into an untyped message.
Source§impl JsonRpcRequest for ValidateRequest
impl JsonRpcRequest for ValidateRequest
Source§type Response = ValidateResponse
type Response = ValidateResponse
The type of data expected in response.
Auto Trait Implementations§
impl Freeze for ValidateRequest
impl RefUnwindSafe for ValidateRequest
impl Send for ValidateRequest
impl Sync for ValidateRequest
impl Unpin for ValidateRequest
impl UnsafeUnpin for ValidateRequest
impl UnwindSafe for ValidateRequest
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