pub struct Environment {
pub id: i32,
pub node_id: String,
pub name: String,
pub url: String,
pub html_url: String,
pub created_at: String,
pub updated_at: String,
pub protection_rules: Option<Vec<EnvironmentProtectionRulesInner>>,
pub deployment_branch_policy: Option<Option<Box<DeploymentBranchPolicySettings>>>,
}
Expand description
Environment : Details of a deployment environment
Fields§
§id: i32
The id of the environment.
node_id: String
§name: String
The name of the environment.
url: String
§html_url: String
§created_at: String
The time that the environment was created, in ISO 8601 format.
updated_at: String
The time that the environment was last updated, in ISO 8601 format.
protection_rules: Option<Vec<EnvironmentProtectionRulesInner>>
Built-in deployment protection rules for the environment.
deployment_branch_policy: Option<Option<Box<DeploymentBranchPolicySettings>>>
Implementations§
Trait Implementations§
Source§impl Clone for Environment
impl Clone for Environment
Source§fn clone(&self) -> Environment
fn clone(&self) -> Environment
Returns a duplicate 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 Default for Environment
impl Default for Environment
Source§fn default() -> Environment
fn default() -> Environment
Returns the “default value” for a type. Read more
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
Source§impl PartialEq for Environment
impl PartialEq for Environment
Source§impl Serialize for Environment
impl Serialize for Environment
impl StructuralPartialEq for Environment
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