ipmail 0.1.0

Rust implementation of SP-centric decentralized instant message synchronization protocol(DIMSP)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! UNS(User name service) association types.

use libipld::DagCbor;
use serde::{Deserialize, Serialize};

/// MNS account information.
#[derive(Debug, Default, DagCbor, Serialize, Deserialize, Clone)]
pub struct UNSAccount {
    /// The nft id of **UNS contract**
    pub id: u64,
    /// display user name for **UNS account** .
    pub user_name: String,
}