pub struct ReposCreateDeploymentStatusRequest {
pub auto_inactive: Option<bool>,
pub description: String,
pub environment: Option<ReposCreateDeploymentStatusRequestEnvironment>,
pub environment_url: String,
pub log_url: String,
pub state: DeploymentStatusState,
pub target_url: String,
}
Fields§
§auto_inactive: Option<bool>
§description: String
§environment: Option<ReposCreateDeploymentStatusRequestEnvironment>
Name for the target deployment environment, which can be changed when setting a deploy status. For example, production
, staging
, or qa
. **Note:** This parameter requires you to use the application/vnd.github.flash-preview+json
custom media type.
environment_url: String
§log_url: String
§state: DeploymentStatusState
The state of the status.
target_url: String
Trait Implementations§
source§impl Clone for ReposCreateDeploymentStatusRequest
impl Clone for ReposCreateDeploymentStatusRequest
source§fn clone(&self) -> ReposCreateDeploymentStatusRequest
fn clone(&self) -> ReposCreateDeploymentStatusRequest
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<'de> Deserialize<'de> for ReposCreateDeploymentStatusRequest
impl<'de> Deserialize<'de> for ReposCreateDeploymentStatusRequest
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 ReposCreateDeploymentStatusRequest
impl JsonSchema for ReposCreateDeploymentStatusRequest
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<ReposCreateDeploymentStatusRequest> for ReposCreateDeploymentStatusRequest
impl PartialEq<ReposCreateDeploymentStatusRequest> for ReposCreateDeploymentStatusRequest
source§fn eq(&self, other: &ReposCreateDeploymentStatusRequest) -> bool
fn eq(&self, other: &ReposCreateDeploymentStatusRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReposCreateDeploymentStatusRequest
Auto Trait Implementations§
impl RefUnwindSafe for ReposCreateDeploymentStatusRequest
impl Send for ReposCreateDeploymentStatusRequest
impl Sync for ReposCreateDeploymentStatusRequest
impl Unpin for ReposCreateDeploymentStatusRequest
impl UnwindSafe for ReposCreateDeploymentStatusRequest
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