pub struct ImageFamilyClient { /* private fields */ }Expand description
Calls ImageFamilyService.
The catalog of image families: stable names that each launch whichever public image is current for them, so a launch gets the latest build without naming an image. Not scoped to an organisation or a project; no permission is needed.
Implementations§
Source§impl ImageFamilyClient
impl ImageFamilyClient
Sourcepub fn new(client: &Client) -> Self
pub fn new(client: &Client) -> Self
Returns a client of ImageFamilyService that sends its calls through client.
Sourcepub fn service(&self) -> &Service
pub fn service(&self) -> &Service
The endpoint the client sends its calls to, which also serves the operations its methods answer with.
Sourcepub async fn get_image_family(
&self,
request: GetImageFamilyRequest,
) -> Result<ImageFamily, Error>
pub async fn get_image_family( &self, request: GetImageFamilyRequest, ) -> Result<ImageFamily, Error>
Returns an image family.
Sourcepub async fn list_image_families(
&self,
request: ListImageFamiliesRequest,
) -> Result<ListImageFamiliesResponse, Error>
pub async fn list_image_families( &self, request: ListImageFamiliesRequest, ) -> Result<ListImageFamiliesResponse, Error>
Lists every image family, including those no longer offered: check
available before launching from one.
Trait Implementations§
Source§impl Clone for ImageFamilyClient
impl Clone for ImageFamilyClient
Auto Trait Implementations§
impl !RefUnwindSafe for ImageFamilyClient
impl !UnwindSafe for ImageFamilyClient
impl Freeze for ImageFamilyClient
impl Send for ImageFamilyClient
impl Sync for ImageFamilyClient
impl Unpin for ImageFamilyClient
impl UnsafeUnpin for ImageFamilyClient
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