pub struct DescribeImages<'a> {
pub region: Option<&'a str>,
pub image_ids: Option<Vec<&'a str>>,
pub filters: Option<Vec<Filter<'a>>>,
pub limit: Option<u32>,
pub offset: Option<u32>,
}Fields§
§region: Option<&'a str>§image_ids: Option<Vec<&'a str>>§filters: Option<Vec<Filter<'a>>>§limit: Option<u32>§offset: Option<u32>Implementations§
Source§impl<'a> DescribeImages<'a>
impl<'a> DescribeImages<'a>
pub fn new() -> Self
pub fn with_region(self, region: &'a str) -> Self
pub fn push_image_id(self, id: &'a str) -> Self
pub fn push_filter(self, filter: Filter<'a>) -> Self
pub fn with_limit(self, limit: u32) -> Self
pub fn with_offset(self, offset: u32) -> Self
Trait Implementations§
Source§impl<'a> Default for DescribeImages<'a>
impl<'a> Default for DescribeImages<'a>
Source§impl<'a> Endpoint for DescribeImages<'a>
impl<'a> Endpoint for DescribeImages<'a>
type Output = DescribeImagesResponse
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 DescribeImages<'a>
impl<'a> RefUnwindSafe for DescribeImages<'a>
impl<'a> Send for DescribeImages<'a>
impl<'a> Sync for DescribeImages<'a>
impl<'a> Unpin for DescribeImages<'a>
impl<'a> UnwindSafe for DescribeImages<'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