pub struct NameState {
pub name: String,
pub sequence: u64,
pub block_height: u64,
pub block_time: u64,
pub stale_time: u64,
pub expire_time: u64,
pub threshold: u8,
pub key_kind: u8,
pub public_keys: Vec<Bytes32>,
pub next_public_keys: Option<Vec<Bytes32>>,
}
Fields§
§name: String
§sequence: u64
§block_height: u64
§block_time: u64
§stale_time: u64
§expire_time: u64
§threshold: u8
§key_kind: u8
§public_keys: Vec<Bytes32>
§next_public_keys: Option<Vec<Bytes32>>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NameState
impl<'de> Deserialize<'de> for NameState
Source§fn deserialize<D>(deserializer: D) -> Result<NameState, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<NameState, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for NameState
Auto Trait Implementations§
impl Freeze for NameState
impl RefUnwindSafe for NameState
impl Send for NameState
impl Sync for NameState
impl Unpin for NameState
impl UnwindSafe for NameState
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