Struct octorust::types::EnvironmentData [−][src]
pub struct EnvironmentData { pub created_at: DateTime<Utc>, pub deployment_branch_policy: Option<DeploymentBranchPolicy>, pub html_url: String, pub id: i64, pub name: String, pub node_id: String, pub protection_rules: Vec<ProtectionRules>, pub updated_at: DateTime<Utc>, pub url: String, }
Expand description
Details of a deployment environment
Fields
created_at: DateTime<Utc>
The time that the environment was created, in ISO 8601 format.
deployment_branch_policy: Option<DeploymentBranchPolicy>
The type of deployment branch policy for this environment. To allow all branches to deploy, set to null
.
html_url: String
id: i64
The id of the environment.
name: String
The name of the environment.
node_id: String
protection_rules: Vec<ProtectionRules>
Details of a deployment environment
updated_at: DateTime<Utc>
The time that the environment was last updated, in ISO 8601 format.
url: String
Trait Implementations
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 RefUnwindSafe for EnvironmentData
impl Send for EnvironmentData
impl Sync for EnvironmentData
impl Unpin for EnvironmentData
impl UnwindSafe for EnvironmentData
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more