Struct google_composer1::api::ImageVersion
source · pub struct ImageVersion {
pub creation_disabled: Option<bool>,
pub image_version_id: Option<String>,
pub is_default: Option<bool>,
pub release_date: Option<Date>,
pub supported_python_versions: Option<Vec<String>>,
pub upgrade_disabled: Option<bool>,
}
Expand description
ImageVersion information
This type is not used in any activity, and only used as part of another schema.
Fields§
§creation_disabled: Option<bool>
Whether it is impossible to create an environment with the image version.
image_version_id: Option<String>
The string identifier of the ImageVersion, in the form: “composer-x.y.z-airflow-a.b.c”
is_default: Option<bool>
Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified.
release_date: Option<Date>
The date of the version release.
supported_python_versions: Option<Vec<String>>
supported python versions
upgrade_disabled: Option<bool>
Whether it is impossible to upgrade an environment running with the image version.
Trait Implementations§
source§impl Clone for ImageVersion
impl Clone for ImageVersion
source§fn clone(&self) -> ImageVersion
fn clone(&self) -> ImageVersion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImageVersion
impl Debug for ImageVersion
source§impl Default for ImageVersion
impl Default for ImageVersion
source§fn default() -> ImageVersion
fn default() -> ImageVersion
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ImageVersion
impl<'de> Deserialize<'de> for ImageVersion
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 Serialize for ImageVersion
impl Serialize for ImageVersion
impl Part for ImageVersion
Auto Trait Implementations§
impl RefUnwindSafe for ImageVersion
impl Send for ImageVersion
impl Sync for ImageVersion
impl Unpin for ImageVersion
impl UnwindSafe for ImageVersion
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