pub struct DeploymentStatusCreatedEventDeploymentStatus<'a> {Show 15 fields
pub url: &'a str,
pub id: usize,
pub node_id: &'a str,
pub state: DeploymentStatusCreatedEventDeploymentStatusState,
pub creator: User<'a>,
pub description: &'a str,
pub environment: &'a str,
pub environment_url: Option<DeploymentStatusCreatedEventDeploymentStatusEnvironmentUrlUnion<'a>>,
pub log_url: Option<&'a str>,
pub target_url: &'a str,
pub created_at: &'a str,
pub updated_at: &'a str,
pub deployment_url: &'a str,
pub repository_url: &'a str,
pub performed_via_github_app: Option<App<'a>>,
}
Fields§
§url: &'a str
§id: usize
§node_id: &'a str
§state: DeploymentStatusCreatedEventDeploymentStatusState
The new state. Can be pending
, success
, failure
, or error
.
creator: User<'a>
§description: &'a str
The optional human-readable description added to the status.
environment: &'a str
§environment_url: Option<DeploymentStatusCreatedEventDeploymentStatusEnvironmentUrlUnion<'a>>
§log_url: Option<&'a str>
§target_url: &'a str
The optional link added to the status.
created_at: &'a str
§updated_at: &'a str
§deployment_url: &'a str
§repository_url: &'a str
§performed_via_github_app: Option<App<'a>>
Trait Implementations§
source§impl<'a> Debug for DeploymentStatusCreatedEventDeploymentStatus<'a>
impl<'a> Debug for DeploymentStatusCreatedEventDeploymentStatus<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for DeploymentStatusCreatedEventDeploymentStatus<'a>
impl<'de: 'a, 'a> Deserialize<'de> for DeploymentStatusCreatedEventDeploymentStatus<'a>
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<'a> RefUnwindSafe for DeploymentStatusCreatedEventDeploymentStatus<'a>
impl<'a> Send for DeploymentStatusCreatedEventDeploymentStatus<'a>
impl<'a> Sync for DeploymentStatusCreatedEventDeploymentStatus<'a>
impl<'a> Unpin for DeploymentStatusCreatedEventDeploymentStatus<'a>
impl<'a> UnwindSafe for DeploymentStatusCreatedEventDeploymentStatus<'a>
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