pub struct AddPortMappingParams {
pub external_port: Option<u16>,
pub protocol: Option<Protocol>,
pub internal_port: Option<u16>,
pub internal_client: Option<IpAddr>,
pub description: Option<String>,
}Expand description
Parameters for matching AddPortMapping requests.
Fields§
§external_port: Option<u16>§protocol: Option<Protocol>§internal_port: Option<u16>§internal_client: Option<IpAddr>§description: Option<String>Trait Implementations§
Source§impl Clone for AddPortMappingParams
impl Clone for AddPortMappingParams
Source§fn clone(&self) -> AddPortMappingParams
fn clone(&self) -> AddPortMappingParams
Returns a duplicate 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 Debug for AddPortMappingParams
impl Debug for AddPortMappingParams
Source§impl Default for AddPortMappingParams
impl Default for AddPortMappingParams
Source§fn default() -> AddPortMappingParams
fn default() -> AddPortMappingParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AddPortMappingParams
impl RefUnwindSafe for AddPortMappingParams
impl Send for AddPortMappingParams
impl Sync for AddPortMappingParams
impl Unpin for AddPortMappingParams
impl UnwindSafe for AddPortMappingParams
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