pub struct Template { /* private fields */ }Expand description
Represents an AWS CloudFormation template.
Implementations§
Source§impl Template
impl Template
Sourcepub fn description(&self) -> &Option<String>
pub fn description(&self) -> &Option<String>
Get the template description as a reference.
Sourcepub fn description_mut(&mut self) -> &mut Option<String>
pub fn description_mut(&mut self) -> &mut Option<String>
Get the template description as a mutable reference.
Sourcepub fn resources(&self) -> &Resources
pub fn resources(&self) -> &Resources
Get a reference to the resources defined in the template.
Sourcepub fn resources_mut(&mut self) -> &mut Resources
pub fn resources_mut(&mut self) -> &mut Resources
Get a mutable reference to the resources defined in the template.
Sourcepub fn outputs_mut(&mut self) -> &mut Outputs
pub fn outputs_mut(&mut self) -> &mut Outputs
Get a mutable reference to the outputs defined in the template.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Template
impl<'de> Deserialize<'de> for Template
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
Auto Trait Implementations§
impl Freeze for Template
impl RefUnwindSafe for Template
impl Send for Template
impl Sync for Template
impl Unpin for Template
impl UnwindSafe for Template
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