pub struct RpcInterface {
pub ack_reason: Option<i64>,
pub ack_result: Option<i64>,
pub uuid: String,
pub version: String,
}
Expand description
RpcInterface
JSON schema
{
"type": "object",
"required": [
"uuid",
"version"
],
"properties": {
"ack_reason": {
"type": "integer"
},
"ack_result": {
"type": "integer"
},
"uuid": {
"type": "string"
},
"version": {
"type": "string"
}
}
}
Fields§
§ack_reason: Option<i64>
§ack_result: Option<i64>
§uuid: String
§version: String
Implementations§
Source§impl RpcInterface
impl RpcInterface
pub fn builder() -> RpcInterface
Trait Implementations§
Source§impl Clone for RpcInterface
impl Clone for RpcInterface
Source§fn clone(&self) -> RpcInterface
fn clone(&self) -> RpcInterface
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 RpcInterface
impl Debug for RpcInterface
Source§impl<'de> Deserialize<'de> for RpcInterface
impl<'de> Deserialize<'de> for RpcInterface
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 From<&RpcInterface> for RpcInterface
impl From<&RpcInterface> for RpcInterface
Source§fn from(value: &RpcInterface) -> Self
fn from(value: &RpcInterface) -> Self
Converts to this type from the input type.
Source§impl From<RpcInterface> for RpcInterface
impl From<RpcInterface> for RpcInterface
Source§fn from(value: RpcInterface) -> Self
fn from(value: RpcInterface) -> Self
Converts to this type from the input type.
Source§impl Serialize for RpcInterface
impl Serialize for RpcInterface
Source§impl TryFrom<RpcInterface> for RpcInterface
impl TryFrom<RpcInterface> for RpcInterface
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: RpcInterface) -> Result<Self, ConversionError>
fn try_from(value: RpcInterface) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RpcInterface
impl RefUnwindSafe for RpcInterface
impl Send for RpcInterface
impl Sync for RpcInterface
impl Unpin for RpcInterface
impl UnwindSafe for RpcInterface
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