pub struct ReceiptResponse {
pub service_name: String,
pub method: String,
pub ret: String,
pub is_error: bool,
}
Fields§
§service_name: String
§method: String
§ret: String
§is_error: bool
Trait Implementations§
Source§impl Clone for ReceiptResponse
impl Clone for ReceiptResponse
Source§fn clone(&self) -> ReceiptResponse
fn clone(&self) -> ReceiptResponse
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 ReceiptResponse
impl Debug for ReceiptResponse
Source§impl Decodable for ReceiptResponse
impl Decodable for ReceiptResponse
Source§impl Encodable for ReceiptResponse
impl Encodable for ReceiptResponse
Source§impl FixedCodec for ReceiptResponse
impl FixedCodec for ReceiptResponse
fn encode_fixed(&self) -> ProtocolResult<Bytes>
fn decode_fixed(bytes: Bytes) -> ProtocolResult<Self>
Source§impl From<ReceiptResponse> for ReceiptResponse
impl From<ReceiptResponse> for ReceiptResponse
Source§fn from(response: ReceiptResponse) -> ReceiptResponse
fn from(response: ReceiptResponse) -> ReceiptResponse
Converts to this type from the input type.
Source§impl PartialEq for ReceiptResponse
impl PartialEq for ReceiptResponse
Source§impl TryFrom<ReceiptResponse> for ReceiptResponse
impl TryFrom<ReceiptResponse> for ReceiptResponse
Source§type Error = ProtocolError
type Error = ProtocolError
The type returned in the event of a conversion error.
Source§fn try_from(response: ReceiptResponse) -> Result<ReceiptResponse, Self::Error>
fn try_from(response: ReceiptResponse) -> Result<ReceiptResponse, Self::Error>
Performs the conversion.
impl Eq for ReceiptResponse
impl StructuralPartialEq for ReceiptResponse
Auto Trait Implementations§
impl Freeze for ReceiptResponse
impl RefUnwindSafe for ReceiptResponse
impl Send for ReceiptResponse
impl Sync for ReceiptResponse
impl Unpin for ReceiptResponse
impl UnwindSafe for ReceiptResponse
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