Struct assemblyline_models::datastore::service::EnvironmentVariable
source · pub struct EnvironmentVariable {
pub name: String,
pub value: String,
}
Expand description
Environment Variable Model
Fields§
§name: String
Name of Environment Variable
value: String
Value of Environment Variable
Trait Implementations§
source§impl Debug for EnvironmentVariable
impl Debug for EnvironmentVariable
source§impl Described<ElasticMeta> for EnvironmentVariable
impl Described<ElasticMeta> for EnvironmentVariable
source§fn metadata() -> Descriptor<ElasticMeta>
fn metadata() -> Descriptor<ElasticMeta>
Get self description of this type
source§impl<'de> Deserialize<'de> for EnvironmentVariable
impl<'de> Deserialize<'de> for EnvironmentVariable
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 EnvironmentVariable
impl PartialEq for EnvironmentVariable
source§fn eq(&self, other: &EnvironmentVariable) -> bool
fn eq(&self, other: &EnvironmentVariable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EnvironmentVariable
impl Serialize for EnvironmentVariable
impl Eq for EnvironmentVariable
impl StructuralEq for EnvironmentVariable
impl StructuralPartialEq for EnvironmentVariable
Auto Trait Implementations§
impl RefUnwindSafe for EnvironmentVariable
impl Send for EnvironmentVariable
impl Sync for EnvironmentVariable
impl Unpin for EnvironmentVariable
impl UnwindSafe for EnvironmentVariable
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.