pub enum BindingSource {
Registry {
var_id: VarId,
},
Inline {
value: String,
},
}Expand description
Where a binding’s value comes from.
Variants§
Registry
Reference to a variable in the central registry.
Fields
§
var_id: VarIdIdentifier of the referenced crate::model::Var.
Inline
Literal value embedded in the manifest (use only for non-sensitive values).
Trait Implementations§
Source§impl Clone for BindingSource
impl Clone for BindingSource
Source§fn clone(&self) -> BindingSource
fn clone(&self) -> BindingSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BindingSource
impl Debug for BindingSource
Source§impl<'de> Deserialize<'de> for BindingSource
impl<'de> Deserialize<'de> for BindingSource
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 BindingSource
impl PartialEq for BindingSource
Source§fn eq(&self, other: &BindingSource) -> bool
fn eq(&self, other: &BindingSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BindingSource
impl Serialize for BindingSource
impl Eq for BindingSource
impl StructuralPartialEq for BindingSource
Auto Trait Implementations§
impl Freeze for BindingSource
impl RefUnwindSafe for BindingSource
impl Send for BindingSource
impl Sync for BindingSource
impl Unpin for BindingSource
impl UnsafeUnpin for BindingSource
impl UnwindSafe for BindingSource
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