#[non_exhaustive]pub struct AddBridgeNetworkSourceRequest {
pub multicast_ip: Option<String>,
pub name: Option<String>,
pub network_name: Option<String>,
pub port: Option<i32>,
pub protocol: Option<Protocol>,
}Expand description
Add a network source to an existing bridge.
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.multicast_ip: Option<String>The network source multicast IP.
name: Option<String>The name of the network source. This name is used to reference the source and must be unique among sources in this bridge.
network_name: Option<String>The network source’s gateway network name.
port: Option<i32>The network source port.
protocol: Option<Protocol>The network source protocol.
Implementations§
source§impl AddBridgeNetworkSourceRequest
impl AddBridgeNetworkSourceRequest
sourcepub fn multicast_ip(&self) -> Option<&str>
pub fn multicast_ip(&self) -> Option<&str>
The network source multicast IP.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the network source. This name is used to reference the source and must be unique among sources in this bridge.
sourcepub fn network_name(&self) -> Option<&str>
pub fn network_name(&self) -> Option<&str>
The network source’s gateway network name.
source§impl AddBridgeNetworkSourceRequest
impl AddBridgeNetworkSourceRequest
sourcepub fn builder() -> AddBridgeNetworkSourceRequestBuilder
pub fn builder() -> AddBridgeNetworkSourceRequestBuilder
Creates a new builder-style object to manufacture AddBridgeNetworkSourceRequest.
Trait Implementations§
source§impl Clone for AddBridgeNetworkSourceRequest
impl Clone for AddBridgeNetworkSourceRequest
source§fn clone(&self) -> AddBridgeNetworkSourceRequest
fn clone(&self) -> AddBridgeNetworkSourceRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq for AddBridgeNetworkSourceRequest
impl PartialEq for AddBridgeNetworkSourceRequest
source§fn eq(&self, other: &AddBridgeNetworkSourceRequest) -> bool
fn eq(&self, other: &AddBridgeNetworkSourceRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AddBridgeNetworkSourceRequest
Auto Trait Implementations§
impl RefUnwindSafe for AddBridgeNetworkSourceRequest
impl Send for AddBridgeNetworkSourceRequest
impl Sync for AddBridgeNetworkSourceRequest
impl Unpin for AddBridgeNetworkSourceRequest
impl UnwindSafe for AddBridgeNetworkSourceRequest
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.