pub struct AccountDataView {
pub account_key: PublicKey,
pub peer_id: PublicKey,
pub proxies: Vec<Tier1ProxyView>,
pub timestamp: String,
}Expand description
AccountDataView
JSON schema
{
"type": "object",
"required": [
"account_key",
"peer_id",
"proxies",
"timestamp"
],
"properties": {
"account_key": {
"$ref": "#/components/schemas/PublicKey"
},
"peer_id": {
"$ref": "#/components/schemas/PublicKey"
},
"proxies": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Tier1ProxyView"
}
},
"timestamp": {
"type": "string"
}
}
}Fields§
§account_key: PublicKey§peer_id: PublicKey§proxies: Vec<Tier1ProxyView>§timestamp: StringTrait Implementations§
Source§impl Clone for AccountDataView
impl Clone for AccountDataView
Source§fn clone(&self) -> AccountDataView
fn clone(&self) -> AccountDataView
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccountDataView
impl Debug for AccountDataView
Source§impl<'de> Deserialize<'de> for AccountDataView
impl<'de> Deserialize<'de> for AccountDataView
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AccountDataView, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AccountDataView, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&AccountDataView> for AccountDataView
impl From<&AccountDataView> for AccountDataView
Source§fn from(value: &AccountDataView) -> AccountDataView
fn from(value: &AccountDataView) -> AccountDataView
Converts to this type from the input type.
Source§impl Serialize for AccountDataView
impl Serialize for AccountDataView
Source§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 Freeze for AccountDataView
impl RefUnwindSafe for AccountDataView
impl Send for AccountDataView
impl Sync for AccountDataView
impl Unpin for AccountDataView
impl UnwindSafe for AccountDataView
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