pub struct IceServer {
pub urls: Vec<String>,
pub username: Option<String>,
pub credential: Option<IcePassword>,
}
Expand description
Representation of RTCIceServer (item of iceServers
field
from RTCConfiguration).
Fields§
§urls: Vec<String>
URLs of this IceServer
.
username: Option<String>
Optional username to authenticate on this IceServer
with.
credential: Option<IcePassword>
Optional secret to authenticate on this IceServer
with.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IceServer
impl<'de> Deserialize<'de> for IceServer
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
impl Eq for IceServer
impl StructuralPartialEq for IceServer
Auto Trait Implementations§
impl Freeze for IceServer
impl RefUnwindSafe for IceServer
impl Send for IceServer
impl Sync for IceServer
impl Unpin for IceServer
impl UnwindSafe for IceServer
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