Struct gitlab::types::Environment
source · pub struct Environment {
pub id: EnvironmentId,
pub name: String,
pub slug: String,
pub external_url: Option<String>,
pub state: Option<String>,
pub last_deployment: Option<Deployment>,
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Fields§
§id: EnvironmentId
👎Deprecated since 0.1609.0: define deserialization types in client code
§name: String
👎Deprecated since 0.1609.0: define deserialization types in client code
§slug: String
👎Deprecated since 0.1609.0: define deserialization types in client code
§external_url: Option<String>
👎Deprecated since 0.1609.0: define deserialization types in client code
§state: Option<String>
👎Deprecated since 0.1609.0: define deserialization types in client code
§last_deployment: Option<Deployment>
👎Deprecated since 0.1609.0: define deserialization types in client code
Trait Implementations§
source§impl Clone for Environment
impl Clone for Environment
source§fn clone(&self) -> Environment
fn clone(&self) -> Environment
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 Environment
impl Debug for Environment
source§impl<'de> Deserialize<'de> for Environment
impl<'de> Deserialize<'de> for Environment
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 Environment
impl RefUnwindSafe for Environment
impl Send for Environment
impl Sync for Environment
impl Unpin for Environment
impl UnwindSafe for Environment
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