pub struct InvalidTransactionHex {
pub code: String,
pub message: String,
pub details: Option<Vec<BannedIpAddressDetails>>,
}Expand description
InvalidTransactionHex : invalid_transaction_hex
Fields§
§code: StringSpecifies an error code, e.g. error 404.
message: StringSpecifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”.
details: Option<Vec<BannedIpAddressDetails>>Implementations§
Source§impl InvalidTransactionHex
impl InvalidTransactionHex
Sourcepub fn new(code: String, message: String) -> InvalidTransactionHex
pub fn new(code: String, message: String) -> InvalidTransactionHex
invalid_transaction_hex
Trait Implementations§
Source§impl Clone for InvalidTransactionHex
impl Clone for InvalidTransactionHex
Source§fn clone(&self) -> InvalidTransactionHex
fn clone(&self) -> InvalidTransactionHex
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 InvalidTransactionHex
impl Debug for InvalidTransactionHex
Source§impl<'de> Deserialize<'de> for InvalidTransactionHex
impl<'de> Deserialize<'de> for InvalidTransactionHex
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 PartialEq for InvalidTransactionHex
impl PartialEq for InvalidTransactionHex
Source§impl Serialize for InvalidTransactionHex
impl Serialize for InvalidTransactionHex
impl StructuralPartialEq for InvalidTransactionHex
Auto Trait Implementations§
impl Freeze for InvalidTransactionHex
impl RefUnwindSafe for InvalidTransactionHex
impl Send for InvalidTransactionHex
impl Sync for InvalidTransactionHex
impl Unpin for InvalidTransactionHex
impl UnwindSafe for InvalidTransactionHex
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