Struct gitlab::types::ProjectVariable
source · pub struct ProjectVariable {
pub key: String,
pub variable_type: String,
pub value: String,
pub protected: bool,
pub masked: bool,
pub environment_scope: String,
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Expand description
Reponse of a project variable
Fields§
§key: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The key
variable_type: String
👎Deprecated since 0.1609.0: define deserialization types in client code
§value: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The value
protected: bool
👎Deprecated since 0.1609.0: define deserialization types in client code
Flag if its protected
masked: bool
👎Deprecated since 0.1609.0: define deserialization types in client code
Flag if its masked
environment_scope: String
👎Deprecated since 0.1609.0: define deserialization types in client code
Environment scope
Trait Implementations§
source§impl Clone for ProjectVariable
impl Clone for ProjectVariable
source§fn clone(&self) -> ProjectVariable
fn clone(&self) -> ProjectVariable
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 ProjectVariable
impl Debug for ProjectVariable
source§impl<'de> Deserialize<'de> for ProjectVariable
impl<'de> Deserialize<'de> for ProjectVariable
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
Auto Trait Implementations§
impl Freeze for ProjectVariable
impl RefUnwindSafe for ProjectVariable
impl Send for ProjectVariable
impl Sync for ProjectVariable
impl Unpin for ProjectVariable
impl UnwindSafe for ProjectVariable
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