#[non_exhaustive]pub struct UserCommand {
pub hash: String,
pub kind: String,
pub from: String,
pub to: String,
pub amount: String,
pub fee: String,
pub memo: String,
pub nonce: i64,
pub status: String,
pub failure_reason: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.hash: String§kind: String§from: String§to: String§amount: String§fee: String§memo: String§nonce: i64§status: String§failure_reason: Option<String>Trait Implementations§
Source§impl Clone for UserCommand
impl Clone for UserCommand
Source§impl Debug for UserCommand
impl Debug for UserCommand
Source§impl<'de> Deserialize<'de> for UserCommand
impl<'de> Deserialize<'de> for UserCommand
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
Auto Trait Implementations§
impl Freeze for UserCommand
impl RefUnwindSafe for UserCommand
impl Send for UserCommand
impl Sync for UserCommand
impl Unpin for UserCommand
impl UnsafeUnpin for UserCommand
impl UnwindSafe for UserCommand
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