Struct octorust::types::EnvironmentData
source · pub struct EnvironmentData {
pub created_at: Option<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<ProtectionRulesAnyOf>,
pub updated_at: Option<DateTime<Utc>>,
pub url: String,
}
Expand description
Details of a deployment environment
Fields§
§created_at: Option<DateTime<Utc>>
§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
§name: String
§node_id: String
§protection_rules: Vec<ProtectionRulesAnyOf>
Details of a deployment environment
updated_at: Option<DateTime<Utc>>
§url: String
Trait Implementations§
source§impl Clone for EnvironmentData
impl Clone for EnvironmentData
source§fn clone(&self) -> EnvironmentData
fn clone(&self) -> EnvironmentData
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 EnvironmentData
impl Debug for EnvironmentData
source§impl<'de> Deserialize<'de> for EnvironmentData
impl<'de> Deserialize<'de> for EnvironmentData
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 JsonSchema for EnvironmentData
impl JsonSchema for EnvironmentData
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<EnvironmentData> for EnvironmentData
impl PartialEq<EnvironmentData> for EnvironmentData
source§fn eq(&self, other: &EnvironmentData) -> bool
fn eq(&self, other: &EnvironmentData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EnvironmentData
impl Serialize for EnvironmentData
impl StructuralPartialEq for EnvironmentData
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§
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