pub struct WorkIntent {
pub sender_address: String,
pub receiver_address: String,
pub amount_sbtc: u64,
pub town_name: Option<String>,
pub country_code: Option<String>,
}Fields§
§sender_address: String§receiver_address: String§amount_sbtc: u64§town_name: Option<String>§country_code: Option<String>Trait Implementations§
Source§impl Clone for WorkIntent
impl Clone for WorkIntent
Source§impl Debug for WorkIntent
impl Debug for WorkIntent
Source§impl Default for WorkIntent
impl Default for WorkIntent
Source§impl<'de> Deserialize<'de> for WorkIntent
impl<'de> Deserialize<'de> for WorkIntent
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 WorkIntent
impl RefUnwindSafe for WorkIntent
impl Send for WorkIntent
impl Sync for WorkIntent
impl Unpin for WorkIntent
impl UnsafeUnpin for WorkIntent
impl UnwindSafe for WorkIntent
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