pub struct ImageFamily {
pub name: String,
pub display_name: String,
pub description: String,
pub vendor: String,
pub os: String,
pub os_version: String,
pub support_end_time: Option<Timestamp>,
pub available: bool,
}Expand description
A stable name for the current public image of an operating system release.
Fields§
§name: StringThe family’s resource name, imageFamilies/ubuntu-24-04-minimal.
Never renamed, and never reused for another release.
display_name: StringThe name the console shows.
description: StringWhat the family’s images hold.
vendor: StringWho publishes the release, such as Canonical.
os: StringThe operating system, such as ubuntu.
os_version: StringThe release, such as 24.04.
support_end_time: Option<Timestamp>When the vendor stops supporting the release; empty when no date is known. Advisory: launches aren’t refused after it.
available: boolWhether an instance can be launched from the family now. Instances launched from a family no longer offered are unaffected.
Trait Implementations§
Source§impl Clone for ImageFamily
impl Clone for ImageFamily
Source§impl Debug for ImageFamily
impl Debug for ImageFamily
Source§impl Default for ImageFamily
impl Default for ImageFamily
Source§impl<'de> Deserialize<'de> for ImageFamily
impl<'de> Deserialize<'de> for ImageFamily
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
impl Eq for ImageFamily
Source§impl Hash for ImageFamily
impl Hash for ImageFamily
Source§impl Message for ImageFamily
impl Message for ImageFamily
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 ImageFamily
impl PartialEq for ImageFamily
Source§impl Serialize for ImageFamily
impl Serialize for ImageFamily
impl StructuralPartialEq for ImageFamily
Auto Trait Implementations§
impl Forget for ImageFamily
impl Freeze for ImageFamily
impl Move for ImageFamily
impl RefUnwindSafe for ImageFamily
impl Send for ImageFamily
impl Sync for ImageFamily
impl Unpin for ImageFamily
impl UnsafeUnpin for ImageFamily
impl UnwindSafe for ImageFamily
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.