pub struct Tier1ProxyView {
pub addr: String,
pub peer_id: PublicKey,
}Expand description
Tier1ProxyView
JSON schema
{
"type": "object",
"required": [
"addr",
"peer_id"
],
"properties": {
"addr": {
"type": "string"
},
"peer_id": {
"$ref": "#/components/schemas/PublicKey"
}
}
}Fields§
§addr: String§peer_id: PublicKeyTrait Implementations§
Source§impl Clone for Tier1ProxyView
impl Clone for Tier1ProxyView
Source§fn clone(&self) -> Tier1ProxyView
fn clone(&self) -> Tier1ProxyView
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 Tier1ProxyView
impl Debug for Tier1ProxyView
Source§impl<'de> Deserialize<'de> for Tier1ProxyView
impl<'de> Deserialize<'de> for Tier1ProxyView
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Tier1ProxyView, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Tier1ProxyView, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&Tier1ProxyView> for Tier1ProxyView
impl From<&Tier1ProxyView> for Tier1ProxyView
Source§fn from(value: &Tier1ProxyView) -> Tier1ProxyView
fn from(value: &Tier1ProxyView) -> Tier1ProxyView
Converts to this type from the input type.
Source§impl Serialize for Tier1ProxyView
impl Serialize for Tier1ProxyView
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 Tier1ProxyView
impl RefUnwindSafe for Tier1ProxyView
impl Send for Tier1ProxyView
impl Sync for Tier1ProxyView
impl Unpin for Tier1ProxyView
impl UnwindSafe for Tier1ProxyView
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