pub struct ListNatGatewaysResponse {
pub nat_gateways: Vec<NatGateway>,
pub next_page_token: String,
}Expand description
The response for ListNatGateways.
Fields§
§nat_gateways: Vec<NatGateway>The NAT gateways on this page.
next_page_token: StringThe token for the next page; empty on the last one.
Trait Implementations§
Source§impl Clone for ListNatGatewaysResponse
impl Clone for ListNatGatewaysResponse
Source§impl Debug for ListNatGatewaysResponse
impl Debug for ListNatGatewaysResponse
Source§impl Default for ListNatGatewaysResponse
impl Default for ListNatGatewaysResponse
Source§impl<'de> Deserialize<'de> for ListNatGatewaysResponse
impl<'de> Deserialize<'de> for ListNatGatewaysResponse
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for ListNatGatewaysResponse
impl Message for ListNatGatewaysResponse
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for ListNatGatewaysResponse
impl PartialEq for ListNatGatewaysResponse
Source§impl Serialize for ListNatGatewaysResponse
impl Serialize for ListNatGatewaysResponse
impl StructuralPartialEq for ListNatGatewaysResponse
Auto Trait Implementations§
impl Freeze for ListNatGatewaysResponse
impl RefUnwindSafe for ListNatGatewaysResponse
impl Send for ListNatGatewaysResponse
impl Sync for ListNatGatewaysResponse
impl Unpin for ListNatGatewaysResponse
impl UnsafeUnpin for ListNatGatewaysResponse
impl UnwindSafe for ListNatGatewaysResponse
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