pub struct ImageTemplateSharedImageVersionSource {
pub image_version_id: String,
pub exact_version: Option<String>,
}Expand description
Describes an image source that is an image version in an Azure Compute Gallery or a Direct Shared Gallery.
Fields§
§image_version_id: StringARM resource id of the image version. When image version name is ‘latest’, the version is evaluated when the image build takes place.
exact_version: Option<String>Exact ARM resource id of the image version. This readonly field differs from the image version Id in ‘imageVersionId’ only if the version name specified in ‘imageVersionId’ field is ‘latest’.
Implementations§
Trait Implementations§
Source§fn clone(&self) -> ImageTemplateSharedImageVersionSource
fn clone(&self) -> ImageTemplateSharedImageVersionSource
Returns a duplicate 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§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§fn eq(&self, other: &ImageTemplateSharedImageVersionSource) -> bool
fn eq(&self, other: &ImageTemplateSharedImageVersionSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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