pub struct Deployment {Show 18 fields
pub created_at: String,
pub creator: Option<Box<User>>,
pub description: Option<String>,
pub environment: String,
pub id: i32,
pub node_id: String,
pub original_environment: String,
pub payload: Box<DeploymentPayload>,
pub performed_via_github_app: Option<Option<Box<App5>>>,
pub production_environment: Option<bool>,
pub ref: String,
pub repository_url: String,
pub sha: String,
pub statuses_url: String,
pub task: String,
pub transient_environment: Option<bool>,
pub updated_at: String,
pub url: String,
}
Expand description
Deployment : The deployment.
Fields§
§created_at: String
§creator: Option<Box<User>>
§description: Option<String>
§environment: String
§id: i32
§node_id: String
§original_environment: String
§payload: Box<DeploymentPayload>
§performed_via_github_app: Option<Option<Box<App5>>>
§production_environment: Option<bool>
§ref: String
§repository_url: String
§sha: String
§statuses_url: String
§task: String
§transient_environment: Option<bool>
§updated_at: String
§url: String
Implementations§
Source§impl Deployment
impl Deployment
Sourcepub fn new(
created_at: String,
creator: Option<User>,
description: Option<String>,
environment: String,
id: i32,
node_id: String,
original_environment: String,
payload: DeploymentPayload,
ref: String,
repository_url: String,
sha: String,
statuses_url: String,
task: String,
updated_at: String,
url: String,
) -> Deployment
pub fn new( created_at: String, creator: Option<User>, description: Option<String>, environment: String, id: i32, node_id: String, original_environment: String, payload: DeploymentPayload, ref: String, repository_url: String, sha: String, statuses_url: String, task: String, updated_at: String, url: String, ) -> Deployment
The deployment.
Trait Implementations§
Source§impl Clone for Deployment
impl Clone for Deployment
Source§fn clone(&self) -> Deployment
fn clone(&self) -> Deployment
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 Debug for Deployment
impl Debug for Deployment
Source§impl Default for Deployment
impl Default for Deployment
Source§fn default() -> Deployment
fn default() -> Deployment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Deployment
impl<'de> Deserialize<'de> for Deployment
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 Deployment
impl PartialEq for Deployment
Source§impl Serialize for Deployment
impl Serialize for Deployment
impl StructuralPartialEq for Deployment
Auto Trait Implementations§
impl Freeze for Deployment
impl RefUnwindSafe for Deployment
impl Send for Deployment
impl Sync for Deployment
impl Unpin for Deployment
impl UnwindSafe for Deployment
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