pub struct PreTransferCheck {
pub is_sanctioned: bool,
pub user_exists: bool,
pub fee: Dec,
pub user_has_sent_tx: bool,
}Expand description
The venue’s answer about a recipient. A fresh one costs an activation fee (live: "1.0"),
charged to the sender on top of the amount as its own accountActivationGas ledger row.
Fields§
§is_sanctioned: boolA send to it is refused.
user_exists: bool§fee: Dec§user_has_sent_tx: boolImplementations§
Source§impl PreTransferCheck
impl PreTransferCheck
Sourcepub fn activation_fee(&self) -> Option<Dec>
pub fn activation_fee(&self) -> Option<Dec>
The fee a first transfer to this address pays, when there is one.
Trait Implementations§
Source§impl Clone for PreTransferCheck
impl Clone for PreTransferCheck
Source§impl Debug for PreTransferCheck
impl Debug for PreTransferCheck
Source§impl<'de> Deserialize<'de> for PreTransferCheck
impl<'de> Deserialize<'de> for PreTransferCheck
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
impl Eq for PreTransferCheck
Source§impl PartialEq for PreTransferCheck
impl PartialEq for PreTransferCheck
impl StructuralPartialEq for PreTransferCheck
Auto Trait Implementations§
impl Freeze for PreTransferCheck
impl RefUnwindSafe for PreTransferCheck
impl Send for PreTransferCheck
impl Sync for PreTransferCheck
impl Unpin for PreTransferCheck
impl UnsafeUnpin for PreTransferCheck
impl UnwindSafe for PreTransferCheck
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.