pub struct RelayInfo {
pub dns: Option<String>,
pub srv: Option<String>,
pub ipv4: Option<String>,
pub ipv6: Option<String>,
pub port: Option<u16>,
}Fields§
§dns: Option<String>§srv: Option<String>§ipv4: Option<String>§ipv6: Option<String>§port: Option<u16>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RelayInfo
impl<'de> Deserialize<'de> for RelayInfo
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 RelayInfo
impl RefUnwindSafe for RelayInfo
impl Send for RelayInfo
impl Sync for RelayInfo
impl Unpin for RelayInfo
impl UnwindSafe for RelayInfo
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