pub struct NatCandidateDto {
pub kind: String,
pub transport: String,
pub address: String,
pub priority: u32,
}Expand description
Locally gathered NAT candidate (Host / ServerReflexive / Relay).
Fields§
§kind: StringHost / ServerReflexive / Relay
transport: StringTransport (e.g. “udp”)
address: StringAddress (host:port)
priority: u32Priority (higher = preferred)
Trait Implementations§
Source§impl ComposeSchema for NatCandidateDto
impl ComposeSchema for NatCandidateDto
Source§impl Debug for NatCandidateDto
impl Debug for NatCandidateDto
Source§impl<'de> Deserialize<'de> for NatCandidateDto
impl<'de> Deserialize<'de> for NatCandidateDto
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 Serialize for NatCandidateDto
impl Serialize for NatCandidateDto
Auto Trait Implementations§
impl Freeze for NatCandidateDto
impl RefUnwindSafe for NatCandidateDto
impl Send for NatCandidateDto
impl Sync for NatCandidateDto
impl Unpin for NatCandidateDto
impl UnsafeUnpin for NatCandidateDto
impl UnwindSafe for NatCandidateDto
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