pub struct TemplateLink {
pub uri: Option<String>,
pub id: Option<String>,
pub relative_path: Option<String>,
pub content_version: Option<String>,
pub query_string: Option<String>,
}
Expand description
Entity representing the reference to the template.
Fields§
§uri: Option<String>
The URI of the template to deploy. Use either the uri or id property, but not both.
id: Option<String>
The resource id of a Template Spec. Use either the id or uri property, but not both.
relative_path: Option<String>
The relativePath property can be used to deploy a linked template at a location relative to the parent. If the parent template was linked with a TemplateSpec, this will reference an artifact in the TemplateSpec. If the parent was linked with a URI, the child deployment will be a combination of the parent and relativePath URIs
content_version: Option<String>
If included, must match the ContentVersion in the template.
query_string: Option<String>
The query string (for example, a SAS token) to be used with the templateLink URI.
Implementations§
source§impl TemplateLink
impl TemplateLink
Trait Implementations§
source§impl Clone for TemplateLink
impl Clone for TemplateLink
source§fn clone(&self) -> TemplateLink
fn clone(&self) -> TemplateLink
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 TemplateLink
impl Debug for TemplateLink
source§impl Default for TemplateLink
impl Default for TemplateLink
source§fn default() -> TemplateLink
fn default() -> TemplateLink
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TemplateLink
impl<'de> Deserialize<'de> for TemplateLink
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 PartialEq<TemplateLink> for TemplateLink
impl PartialEq<TemplateLink> for TemplateLink
source§fn eq(&self, other: &TemplateLink) -> bool
fn eq(&self, other: &TemplateLink) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.