pub struct DescribeVpcs<'a> {
pub region: Option<&'a str>,
pub filters: Option<Vec<Filter<'a>>>,
pub vpc_ids: Option<Vec<&'a str>>,
pub limit: Option<u32>,
pub offset: Option<u32>,
}Expand description
Request parameters for VPC DescribeVpcs.
Fields§
§region: Option<&'a str>§filters: Option<Vec<Filter<'a>>>§vpc_ids: Option<Vec<&'a str>>§limit: Option<u32>§offset: Option<u32>Implementations§
Source§impl<'a> DescribeVpcs<'a>
impl<'a> DescribeVpcs<'a>
pub fn with_region(self, region: &'a str) -> Self
pub fn push_filter(self, filter: Filter<'a>) -> Self
pub fn push_vpc_id(self, vpc_id: &'a str) -> Self
pub fn with_limit(self, limit: u32) -> Self
pub fn with_offset(self, offset: u32) -> Self
Trait Implementations§
Source§impl<'a> Default for DescribeVpcs<'a>
impl<'a> Default for DescribeVpcs<'a>
Source§impl<'a> Endpoint for DescribeVpcs<'a>
impl<'a> Endpoint for DescribeVpcs<'a>
type Output = DescribeVpcsResponse
fn service(&self) -> Cow<'static, str>
fn action(&self) -> Cow<'static, str>
fn version(&self) -> Cow<'static, str>
fn region(&self) -> Option<Cow<'_, str>>
fn payload(&self) -> Value
fn scheme(&self) -> Cow<'static, str>
fn host(&self) -> Cow<'_, str>
fn path(&self) -> Cow<'_, str>
fn extra_headers(&self) -> Option<Vec<(Cow<'_, str>, Cow<'_, str>)>>
fn parse(&self, body: Value) -> Result<Self::Output, TencentCloudError>
Auto Trait Implementations§
impl<'a> Freeze for DescribeVpcs<'a>
impl<'a> RefUnwindSafe for DescribeVpcs<'a>
impl<'a> Send for DescribeVpcs<'a>
impl<'a> Sync for DescribeVpcs<'a>
impl<'a> Unpin for DescribeVpcs<'a>
impl<'a> UnwindSafe for DescribeVpcs<'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