pub struct AgpmMetadata {
pub templating: Option<bool>,
pub dependencies: Option<BTreeMap<String, Vec<DependencySpec>>>,
}Expand description
AGPM-specific metadata for templating and nested dependency declarations.
Fields§
§templating: Option<bool>Enable templating for this resource (default: false).
dependencies: Option<BTreeMap<String, Vec<DependencySpec>>>Dependencies nested under agpm section (takes precedence over root-level).
Example:
agpm:
templating: true
dependencies:
snippets:
- path: snippets/utils.mdTrait Implementations§
Source§impl Clone for AgpmMetadata
impl Clone for AgpmMetadata
Source§fn clone(&self) -> AgpmMetadata
fn clone(&self) -> AgpmMetadata
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§impl Debug for AgpmMetadata
impl Debug for AgpmMetadata
Source§impl<'de> Deserialize<'de> for AgpmMetadata
impl<'de> Deserialize<'de> for AgpmMetadata
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 for AgpmMetadata
impl PartialEq for AgpmMetadata
Source§impl Serialize for AgpmMetadata
impl Serialize for AgpmMetadata
impl Eq for AgpmMetadata
impl StructuralPartialEq for AgpmMetadata
Auto Trait Implementations§
impl Freeze for AgpmMetadata
impl RefUnwindSafe for AgpmMetadata
impl Send for AgpmMetadata
impl Sync for AgpmMetadata
impl Unpin for AgpmMetadata
impl UnwindSafe for AgpmMetadata
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,
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§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.