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