#[non_exhaustive]pub enum ProjectVariableType {
EnvVar,
File,
}
Expand description
The type of a project variable.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EnvVar
An environment variable.
The value of the variable is available as the value of the named environment variable.
File
A file variable.
The value of the variable is available in a file given by the value of the named environment variable.
Trait Implementations§
source§impl Clone for ProjectVariableType
impl Clone for ProjectVariableType
source§fn clone(&self) -> ProjectVariableType
fn clone(&self) -> ProjectVariableType
Returns a copy 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 ProjectVariableType
impl Debug for ProjectVariableType
source§impl ParamValue<'static> for ProjectVariableType
impl ParamValue<'static> for ProjectVariableType
source§impl PartialEq for ProjectVariableType
impl PartialEq for ProjectVariableType
source§fn eq(&self, other: &ProjectVariableType) -> bool
fn eq(&self, other: &ProjectVariableType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProjectVariableType
impl Eq for ProjectVariableType
impl StructuralPartialEq for ProjectVariableType
Auto Trait Implementations§
impl Freeze for ProjectVariableType
impl RefUnwindSafe for ProjectVariableType
impl Send for ProjectVariableType
impl Sync for ProjectVariableType
impl Unpin for ProjectVariableType
impl UnwindSafe for ProjectVariableType
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<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.