pub struct BlvtSubscribeResponse {
pub amount: String,
pub cost: String,
pub id: i64,
pub status: String,
pub timestamp: i64,
pub token_name: String,
}
Expand description
BlvtSubscribeResponse
JSON schema
{
"type": "object",
"required": [
"amount",
"cost",
"id",
"status",
"timestamp",
"tokenName"
],
"properties": {
"amount": {
"description": "subscribed token amount",
"examples": [
"0.9559090500"
],
"type": "string"
},
"cost": {
"description": "subscription cost in usdt",
"examples": [
"9.99999995"
],
"type": "string"
},
"id": {
"examples": [
123
],
"type": "integer",
"format": "int64"
},
"status": {
"description": "S, P, and F for \"success\", \"pending\", and \"failure\"",
"examples": [
"S"
],
"type": "string"
},
"timestamp": {
"examples": [
1600249972899
],
"type": "integer",
"format": "int64"
},
"tokenName": {
"examples": [
"LINKUP"
],
"type": "string"
}
}
}
Fields§
§amount: String
subscribed token amount
cost: String
subscription cost in usdt
id: i64
§status: String
S, P, and F for “success”, “pending”, and “failure”
timestamp: i64
§token_name: String
Trait Implementations§
Source§impl Clone for BlvtSubscribeResponse
impl Clone for BlvtSubscribeResponse
Source§fn clone(&self) -> BlvtSubscribeResponse
fn clone(&self) -> BlvtSubscribeResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 BlvtSubscribeResponse
impl Debug for BlvtSubscribeResponse
Source§impl<'de> Deserialize<'de> for BlvtSubscribeResponse
impl<'de> Deserialize<'de> for BlvtSubscribeResponse
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 From<&BlvtSubscribeResponse> for BlvtSubscribeResponse
impl From<&BlvtSubscribeResponse> for BlvtSubscribeResponse
Source§fn from(value: &BlvtSubscribeResponse) -> Self
fn from(value: &BlvtSubscribeResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BlvtSubscribeResponse
impl RefUnwindSafe for BlvtSubscribeResponse
impl Send for BlvtSubscribeResponse
impl Sync for BlvtSubscribeResponse
impl Unpin for BlvtSubscribeResponse
impl UnwindSafe for BlvtSubscribeResponse
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