Struct ilp_packet::packet::IlpReject [−][src]
pub struct IlpReject { pub code: String, pub message: String, pub triggered_by: String, pub data: Vec<u8>, }
Fields
code: String
message: String
triggered_by: String
data: Vec<u8>
Trait Implementations
impl Debug for IlpReject
[src]
impl Debug for IlpReject
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for IlpReject
[src]
impl PartialEq for IlpReject
fn eq(&self, other: &IlpReject) -> bool
[src]
fn eq(&self, other: &IlpReject) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &IlpReject) -> bool
[src]
fn ne(&self, other: &IlpReject) -> bool
This method tests for !=
.
impl Clone for IlpReject
[src]
impl Clone for IlpReject
fn clone(&self) -> IlpReject
[src]
fn clone(&self) -> IlpReject
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Serializable<IlpReject> for IlpReject
[src]
impl Serializable<IlpReject> for IlpReject
fn from_bytes(bytes: &[u8]) -> Result<IlpReject, ParseError>
[src]
fn from_bytes(bytes: &[u8]) -> Result<IlpReject, ParseError>
fn to_bytes(&self) -> Result<Vec<u8>, ParseError>
[src]
fn to_bytes(&self) -> Result<Vec<u8>, ParseError>