pub struct InternetGatewayCreate<'a> { /* private fields */ }Expand description
Builder for ClientVpcsExt::internet_gateway_create
Implementations§
Source§impl<'a> InternetGatewayCreate<'a>
 
impl<'a> InternetGatewayCreate<'a>
pub fn new(client: &'a Client) -> Self
pub fn project<V>(self, value: V) -> Self
pub fn vpc<V>(self, value: V) -> Self
pub fn body<V>(self, value: V) -> Self
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(self) -> Result<ResponseValue<InternetGateway>, Error<Error>>
 
pub async fn send(self) -> Result<ResponseValue<InternetGateway>, Error<Error>>
Sends a POST request to /v1/internet-gateways
Trait Implementations§
Source§impl<'a> Clone for InternetGatewayCreate<'a>
 
impl<'a> Clone for InternetGatewayCreate<'a>
Source§fn clone(&self) -> InternetGatewayCreate<'a>
 
fn clone(&self) -> InternetGatewayCreate<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for InternetGatewayCreate<'a>
impl<'a> !RefUnwindSafe for InternetGatewayCreate<'a>
impl<'a> Send for InternetGatewayCreate<'a>
impl<'a> Sync for InternetGatewayCreate<'a>
impl<'a> Unpin for InternetGatewayCreate<'a>
impl<'a> !UnwindSafe for InternetGatewayCreate<'a>
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