pub struct AttachNetworkInterfaceRequest {
pub device_index: i64,
pub dry_run: Option<bool>,
pub instance_id: String,
pub network_interface_id: String,
}
Expand description
Contains the parameters for AttachNetworkInterface.
Fields§
§device_index: i64
The index of the device for the network interface attachment.
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
instance_id: String
The ID of the instance.
network_interface_id: String
The ID of the network interface.
Trait Implementations§
Source§impl Clone for AttachNetworkInterfaceRequest
impl Clone for AttachNetworkInterfaceRequest
Source§fn clone(&self) -> AttachNetworkInterfaceRequest
fn clone(&self) -> AttachNetworkInterfaceRequest
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 Default for AttachNetworkInterfaceRequest
impl Default for AttachNetworkInterfaceRequest
Source§fn default() -> AttachNetworkInterfaceRequest
fn default() -> AttachNetworkInterfaceRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for AttachNetworkInterfaceRequest
impl PartialEq for AttachNetworkInterfaceRequest
Source§fn eq(&self, other: &AttachNetworkInterfaceRequest) -> bool
fn eq(&self, other: &AttachNetworkInterfaceRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AttachNetworkInterfaceRequest
Auto Trait Implementations§
impl Freeze for AttachNetworkInterfaceRequest
impl RefUnwindSafe for AttachNetworkInterfaceRequest
impl Send for AttachNetworkInterfaceRequest
impl Sync for AttachNetworkInterfaceRequest
impl Unpin for AttachNetworkInterfaceRequest
impl UnwindSafe for AttachNetworkInterfaceRequest
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