pub struct LockInfo {
pub is_locked: Option<bool>,
pub left_lock_percent: Option<String>,
pub lock_detail: Option<String>,
pub lock_percent: Option<String>,
pub lock_tags: Vec<String>,
}Expand description
LP lock information for a token.
JSON schema
{
"description": "LP lock information for a token.",
"type": "object",
"properties": {
"isLocked": {
"type": "boolean"
},
"leftLockPercent": {
"type": "string"
},
"lockDetail": {
"type": "string"
},
"lockPercent": {
"type": "string"
},
"lockTags": {
"type": "array",
"items": {
"type": "string"
}
}
}
}Fields§
§is_locked: Option<bool>§left_lock_percent: Option<String>§lock_detail: Option<String>§lock_percent: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LockInfo
impl<'de> Deserialize<'de> for LockInfo
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 LockInfo
impl RefUnwindSafe for LockInfo
impl Send for LockInfo
impl Sync for LockInfo
impl Unpin for LockInfo
impl UnsafeUnpin for LockInfo
impl UnwindSafe for LockInfo
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