pub struct WithdrawRequest {
pub address: Option<String>,
pub all: Option<bool>,
pub amount: Option<String>,
}Fields§
§address: Option<String>§all: Option<bool>if all=true, amount is ignored and all available balance is withdrawn including connectors account funds must be used carefully to not make connectors utxos unspendable, making forfeit txs invalid
amount: Option<String>Implementations§
Source§impl WithdrawRequest
impl WithdrawRequest
pub fn new() -> WithdrawRequest
Trait Implementations§
Source§impl Clone for WithdrawRequest
impl Clone for WithdrawRequest
Source§fn clone(&self) -> WithdrawRequest
fn clone(&self) -> WithdrawRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WithdrawRequest
impl Debug for WithdrawRequest
Source§impl Default for WithdrawRequest
impl Default for WithdrawRequest
Source§fn default() -> WithdrawRequest
fn default() -> WithdrawRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WithdrawRequest
impl<'de> Deserialize<'de> for WithdrawRequest
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 WithdrawRequest
impl PartialEq for WithdrawRequest
Source§fn eq(&self, other: &WithdrawRequest) -> bool
fn eq(&self, other: &WithdrawRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WithdrawRequest
impl Serialize for WithdrawRequest
impl StructuralPartialEq for WithdrawRequest
Auto Trait Implementations§
impl Freeze for WithdrawRequest
impl RefUnwindSafe for WithdrawRequest
impl Send for WithdrawRequest
impl Sync for WithdrawRequest
impl Unpin for WithdrawRequest
impl UnsafeUnpin for WithdrawRequest
impl UnwindSafe for WithdrawRequest
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