pub struct NFTData {Show 14 fields
pub nft_id: String,
pub create_time: u64,
pub beneficiary: String,
pub owner_id: String,
pub author_id: String,
pub name: String,
pub reward_amount: i64,
pub like_count: i64,
pub state: NFTState,
pub block_number: i64,
pub parent_id: Option<String>,
pub sub_list: Option<Vec<String>>,
pub price: u64,
pub coin_id: CoinTokenId,
}Fields§
§nft_id: String§create_time: u64§beneficiary: String§owner_id: String§name: String§reward_amount: i64§like_count: i64§state: NFTState§block_number: i64§parent_id: Option<String>§sub_list: Option<Vec<String>>§price: u64§coin_id: CoinTokenIdTrait Implementations§
Source§impl<'de> Deserialize<'de> for NFTData
impl<'de> Deserialize<'de> for NFTData
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 NFTData
impl RefUnwindSafe for NFTData
impl Send for NFTData
impl Sync for NFTData
impl Unpin for NFTData
impl UnwindSafe for NFTData
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more