Struct aws_sdk_kinesisvideosignaling::types::IceServer
source · #[non_exhaustive]pub struct IceServer {
pub uris: Option<Vec<String>>,
pub username: Option<String>,
pub password: Option<String>,
pub ttl: Option<i32>,
}
Expand description
A structure for the ICE server connection data.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.uris: Option<Vec<String>>
An array of URIs, in the form specified in the I-D.petithuguenin-behave-turn-uris spec. These URIs provide the different addresses and/or protocols that can be used to reach the TURN server.
username: Option<String>
A username to login to the ICE server.
password: Option<String>
A password to login to the ICE server.
ttl: Option<i32>
The period of time, in seconds, during which the username and password are valid.
Implementations§
source§impl IceServer
impl IceServer
sourcepub fn uris(&self) -> &[String]
pub fn uris(&self) -> &[String]
An array of URIs, in the form specified in the I-D.petithuguenin-behave-turn-uris spec. These URIs provide the different addresses and/or protocols that can be used to reach the TURN server.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .uris.is_none()
.
Trait Implementations§
source§impl PartialEq for IceServer
impl PartialEq for IceServer
impl StructuralPartialEq for IceServer
Auto Trait Implementations§
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.