pub struct ManifestBinding {
pub key: String,
pub source: BindingSource,
pub profile: Profile,
}Expand description
A single variable binding declared by a project.
Fields§
§key: StringEnvironment-variable name the project will see (e.g. DATABASE_URL).
source: BindingSourceSource of the value.
profile: ProfileProfile this binding applies to.
Trait Implementations§
Source§impl Clone for ManifestBinding
impl Clone for ManifestBinding
Source§fn clone(&self) -> ManifestBinding
fn clone(&self) -> ManifestBinding
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 ManifestBinding
impl Debug for ManifestBinding
Source§impl<'de> Deserialize<'de> for ManifestBinding
impl<'de> Deserialize<'de> for ManifestBinding
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 ManifestBinding
impl PartialEq for ManifestBinding
Source§fn eq(&self, other: &ManifestBinding) -> bool
fn eq(&self, other: &ManifestBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ManifestBinding
impl Serialize for ManifestBinding
impl Eq for ManifestBinding
impl StructuralPartialEq for ManifestBinding
Auto Trait Implementations§
impl Freeze for ManifestBinding
impl RefUnwindSafe for ManifestBinding
impl Send for ManifestBinding
impl Sync for ManifestBinding
impl Unpin for ManifestBinding
impl UnsafeUnpin for ManifestBinding
impl UnwindSafe for ManifestBinding
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