pub struct AddressState {
pub address: String,
pub generation: Option<u64>,
}Expand description
AddressState
JSON schema
{
"type": "object",
"required": [
"address"
],
"properties": {
"address": {
"description": "the queried address, echoed back as supplied",
"type": "string"
},
"generation": {
"description": "highest uniqueness generation this credential has submitted with,\nor null if it has never submitted a tx. clients use this to seed a\nmonotonic generation override so the next tx doesn't collide",
"type": [
"integer",
"null"
],
"format": "uint64",
"minimum": 0.0
}
}
}Fields§
§address: Stringthe queried address, echoed back as supplied
generation: Option<u64>highest uniqueness generation this credential has submitted with, or null if it has never submitted a tx. clients use this to seed a monotonic generation override so the next tx doesn’t collide
Trait Implementations§
Source§impl Clone for AddressState
impl Clone for AddressState
Source§fn clone(&self) -> AddressState
fn clone(&self) -> AddressState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AddressState
impl Debug for AddressState
Source§impl<'de> Deserialize<'de> for AddressState
impl<'de> Deserialize<'de> for AddressState
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 AddressState
impl RefUnwindSafe for AddressState
impl Send for AddressState
impl Sync for AddressState
impl Unpin for AddressState
impl UnsafeUnpin for AddressState
impl UnwindSafe for AddressState
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