pub struct Check {
pub check_id: u64,
pub hash: String,
pub asset: CryptoCurrencyCode,
pub amount: Decimal,
pub bot_check_url: String,
pub status: CheckStatus,
pub created_at: DateTime<Utc>,
pub activated_at: DateTime<Utc>,
}Fields§
§check_id: u64Unique ID for this check.
hash: StringHash of the check.
asset: CryptoCurrencyCodeCryptocurrency alphabetic code. Currently, can be “USDT”, “TON”, “BTC”, “ETH”, “LTC”, “BNB”, “TRX” and “USDC” (and “JET” for testnet).
amount: DecimalAmount of the check in float.
bot_check_url: StringURL should be provided to the user to activate the check.
status: CheckStatusStatus of the check, can be “active” or “activated”.
created_at: DateTime<Utc>Date the check was created in ISO 8601 format.
activated_at: DateTime<Utc>Date the check was activated in ISO 8601 format.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Check
impl<'de> Deserialize<'de> for Check
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 Check
impl RefUnwindSafe for Check
impl Send for Check
impl Sync for Check
impl Unpin for Check
impl UnwindSafe for Check
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