#[non_exhaustive]pub struct DestinationConfiguration {
pub destination_ip: Option<String>,
pub destination_port: Option<i32>,
pub interface: Option<Interface>,
pub outbound_ip: Option<String>,
}
Expand description
The transport parameters that are associated with an outbound media stream.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.destination_ip: Option<String>
The IP address where contents of the media stream will be sent.
destination_port: Option<i32>
The port to use when the content of the media stream is distributed to the output.
interface: Option<Interface>
The VPC interface that is used for the media stream associated with the output.
outbound_ip: Option<String>
The IP address that the receiver requires in order to establish a connection with the flow. This value is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the CDI or ST 2110 JPEG XS protocol.
Implementations§
source§impl DestinationConfiguration
impl DestinationConfiguration
sourcepub fn destination_ip(&self) -> Option<&str>
pub fn destination_ip(&self) -> Option<&str>
The IP address where contents of the media stream will be sent.
sourcepub fn destination_port(&self) -> Option<i32>
pub fn destination_port(&self) -> Option<i32>
The port to use when the content of the media stream is distributed to the output.
sourcepub fn interface(&self) -> Option<&Interface>
pub fn interface(&self) -> Option<&Interface>
The VPC interface that is used for the media stream associated with the output.
sourcepub fn outbound_ip(&self) -> Option<&str>
pub fn outbound_ip(&self) -> Option<&str>
The IP address that the receiver requires in order to establish a connection with the flow. This value is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the CDI or ST 2110 JPEG XS protocol.
source§impl DestinationConfiguration
impl DestinationConfiguration
sourcepub fn builder() -> DestinationConfigurationBuilder
pub fn builder() -> DestinationConfigurationBuilder
Creates a new builder-style object to manufacture DestinationConfiguration
.
Trait Implementations§
source§impl Clone for DestinationConfiguration
impl Clone for DestinationConfiguration
source§fn clone(&self) -> DestinationConfiguration
fn clone(&self) -> DestinationConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DestinationConfiguration
impl Debug for DestinationConfiguration
source§impl PartialEq for DestinationConfiguration
impl PartialEq for DestinationConfiguration
source§fn eq(&self, other: &DestinationConfiguration) -> bool
fn eq(&self, other: &DestinationConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DestinationConfiguration
Auto Trait Implementations§
impl Freeze for DestinationConfiguration
impl RefUnwindSafe for DestinationConfiguration
impl Send for DestinationConfiguration
impl Sync for DestinationConfiguration
impl Unpin for DestinationConfiguration
impl UnwindSafe for DestinationConfiguration
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more