pub struct TappItem {Show 24 fields
pub tapp_id: TokenId,
pub name: String,
pub owner: String,
pub ticker: String,
pub detail: String,
pub link: String,
pub max_allowed_hosts: u32,
pub min_allowed_hosts: u32,
pub tapp_type: String,
pub created_timestamp: u64,
pub billing_mode: String,
pub buy_curve_k: u32,
pub sell_curve_k: u32,
pub hosting_amount: u32,
pub status: String,
pub start_height: u64,
pub hosts: Vec<HostItem>,
pub consume_account_balance: String,
pub total_supply: String,
pub buy_price: String,
pub sell_price: String,
pub account_balance: AccountBalance,
pub cid: String,
pub dev_status: String,
}
Fields§
§tapp_id: TokenId
§name: String
§owner: String
§ticker: String
§detail: String
§link: String
§max_allowed_hosts: u32
§min_allowed_hosts: u32
§tapp_type: String
§created_timestamp: u64
§billing_mode: String
§buy_curve_k: u32
§sell_curve_k: u32
§hosting_amount: u32
§status: String
§start_height: u64
§hosts: Vec<HostItem>
§consume_account_balance: String
§total_supply: String
§buy_price: String
§sell_price: String
§account_balance: AccountBalance
§cid: String
§dev_status: String
Implementations§
Trait Implementations§
§impl<'de> Deserialize<'de> for TappItem
impl<'de> Deserialize<'de> for TappItem
§fn deserialize<__D>(
__deserializer: __D
) -> Result<TappItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<TappItem, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for TappItem
impl Serialize for TappItem
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TappItem
impl Send for TappItem
impl Sync for TappItem
impl Unpin for TappItem
impl UnwindSafe for TappItem
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