pub struct SourceBinding {
pub name: String,
pub config: Value,
}Expand description
An overlay source an instance takes: its name, and what the source needs to know about the instance (which branch, say). The config is merged over the workspace’s config for the same source. Neither holds secrets.
Fields§
§name: StringThe source’s name (e.g. user).
config: ValueWhat the source is told about this instance; null for nothing.
Implementations§
Source§impl SourceBinding
impl SourceBinding
Trait Implementations§
Source§impl Clone for SourceBinding
impl Clone for SourceBinding
Source§impl Debug for SourceBinding
impl Debug for SourceBinding
Source§impl<'de> Deserialize<'de> for SourceBinding
impl<'de> Deserialize<'de> for SourceBinding
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
impl Eq for SourceBinding
Source§impl PartialEq for SourceBinding
impl PartialEq for SourceBinding
Source§impl Serialize for SourceBinding
impl Serialize for SourceBinding
impl StructuralPartialEq for SourceBinding
Auto Trait Implementations§
impl Forget for SourceBinding
impl Freeze for SourceBinding
impl RefUnwindSafe for SourceBinding
impl Send for SourceBinding
impl Sync for SourceBinding
impl Unpin for SourceBinding
impl UnsafeUnpin for SourceBinding
impl UnwindSafe for SourceBinding
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.