pub struct WebhookDeploymentStatusCreatedDeploymentStatus {Show 15 fields
pub created_at: String,
pub creator: Option<Box<User>>,
pub deployment_url: String,
pub description: String,
pub environment: String,
pub environment_url: Option<String>,
pub id: i32,
pub log_url: Option<String>,
pub node_id: String,
pub performed_via_github_app: Option<Option<Box<App7>>>,
pub repository_url: String,
pub state: String,
pub target_url: String,
pub updated_at: String,
pub url: String,
}
Expand description
WebhookDeploymentStatusCreatedDeploymentStatus : The deployment status.
Fields§
§created_at: String
§creator: Option<Box<User>>
§deployment_url: String
§description: String
The optional human-readable description added to the status.
environment: String
§environment_url: Option<String>
§id: i32
§log_url: Option<String>
§node_id: String
§performed_via_github_app: Option<Option<Box<App7>>>
§repository_url: String
§state: String
The new state. Can be pending
, success
, failure
, or error
.
target_url: String
The optional link added to the status.
updated_at: String
§url: String
Implementations§
Source§impl WebhookDeploymentStatusCreatedDeploymentStatus
impl WebhookDeploymentStatusCreatedDeploymentStatus
Sourcepub fn new(
created_at: String,
creator: Option<User>,
deployment_url: String,
description: String,
environment: String,
id: i32,
node_id: String,
repository_url: String,
state: String,
target_url: String,
updated_at: String,
url: String,
) -> WebhookDeploymentStatusCreatedDeploymentStatus
pub fn new( created_at: String, creator: Option<User>, deployment_url: String, description: String, environment: String, id: i32, node_id: String, repository_url: String, state: String, target_url: String, updated_at: String, url: String, ) -> WebhookDeploymentStatusCreatedDeploymentStatus
The deployment status.
Trait Implementations§
Source§impl Clone for WebhookDeploymentStatusCreatedDeploymentStatus
impl Clone for WebhookDeploymentStatusCreatedDeploymentStatus
Source§fn clone(&self) -> WebhookDeploymentStatusCreatedDeploymentStatus
fn clone(&self) -> WebhookDeploymentStatusCreatedDeploymentStatus
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 Default for WebhookDeploymentStatusCreatedDeploymentStatus
impl Default for WebhookDeploymentStatusCreatedDeploymentStatus
Source§fn default() -> WebhookDeploymentStatusCreatedDeploymentStatus
fn default() -> WebhookDeploymentStatusCreatedDeploymentStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookDeploymentStatusCreatedDeploymentStatus
impl<'de> Deserialize<'de> for WebhookDeploymentStatusCreatedDeploymentStatus
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 WebhookDeploymentStatusCreatedDeploymentStatus
impl PartialEq for WebhookDeploymentStatusCreatedDeploymentStatus
Source§fn eq(&self, other: &WebhookDeploymentStatusCreatedDeploymentStatus) -> bool
fn eq(&self, other: &WebhookDeploymentStatusCreatedDeploymentStatus) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhookDeploymentStatusCreatedDeploymentStatus
Auto Trait Implementations§
impl Freeze for WebhookDeploymentStatusCreatedDeploymentStatus
impl RefUnwindSafe for WebhookDeploymentStatusCreatedDeploymentStatus
impl Send for WebhookDeploymentStatusCreatedDeploymentStatus
impl Sync for WebhookDeploymentStatusCreatedDeploymentStatus
impl Unpin for WebhookDeploymentStatusCreatedDeploymentStatus
impl UnwindSafe for WebhookDeploymentStatusCreatedDeploymentStatus
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