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: PublicKey
Trait 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§fn clone_from(&mut self, source: &Self)
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<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
Source§impl From<&Tier1ProxyView> for Tier1ProxyView
impl From<&Tier1ProxyView> for Tier1ProxyView
Source§fn from(value: &Tier1ProxyView) -> Self
fn from(value: &Tier1ProxyView) -> Self
Converts to this type from the input type.
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