pub struct UserLock {
pub lock_type: String,
pub currency: Option<String>,
pub reason: Option<String>,
pub timestamp: Option<u64>,
pub expiration_timestamp: Option<u64>,
pub locked: Option<bool>,
}Expand description
User account lock information
Fields§
§lock_type: StringType of lock (e.g., “withdrawal”, “trading”)
currency: Option<String>Currency affected by the lock, if applicable
reason: Option<String>Reason for the lock
timestamp: Option<u64>Timestamp when the lock was applied in milliseconds
expiration_timestamp: Option<u64>When the lock expires in milliseconds, if applicable
locked: Option<bool>Whether the lock is currently active
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UserLock
impl<'de> Deserialize<'de> for UserLock
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 StructuralPartialEq for UserLock
Auto Trait Implementations§
impl Freeze for UserLock
impl RefUnwindSafe for UserLock
impl Send for UserLock
impl Sync for UserLock
impl Unpin for UserLock
impl UnsafeUnpin for UserLock
impl UnwindSafe for UserLock
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