pub struct Binding {
pub kind: BindingType,
pub value: String,
}Expand description
A named reference to a supporting Azure resource outside rigg’s own
kinds, e.g. docs-storage: { storage: mklabstorageacc }. Serialized as a
one-key map { "<type>": "<value>" }.
Fields§
§kind: BindingType§value: StringImplementations§
Source§impl Binding
impl Binding
Sourcepub fn value(&self) -> BindingValue
pub fn value(&self) -> BindingValue
Classify this binding’s value string.
Sourcepub fn physical_name(&self) -> String
pub fn physical_name(&self) -> String
The physical resource name this binding resolves to, lowercased: the bare name as-is, an ARM id’s last path segment, or a URL’s host (no port, no path).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Binding
impl<'de> Deserialize<'de> for Binding
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Binding
impl StructuralPartialEq for Binding
Auto Trait Implementations§
impl Freeze for Binding
impl RefUnwindSafe for Binding
impl Send for Binding
impl Sync for Binding
impl Unpin for Binding
impl UnsafeUnpin for Binding
impl UnwindSafe for Binding
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.