Struct octorust::types::Deployment
source · pub struct Deployment {Show 18 fields
pub created_at: Option<DateTime<Utc>>,
pub creator: Option<SimpleUser>,
pub description: String,
pub environment: String,
pub id: i64,
pub node_id: String,
pub original_environment: String,
pub payload: PayloadOneOf,
pub performed_via_github_app: Option<GitHubApp>,
pub production_environment: bool,
pub ref_: String,
pub repository_url: String,
pub sha: String,
pub statuses_url: String,
pub task: String,
pub transient_environment: bool,
pub updated_at: Option<DateTime<Utc>>,
pub url: String,
}
Expand description
A request for a specific ref(branch,sha,tag) to be deployed
Fields§
§created_at: Option<DateTime<Utc>>
§creator: Option<SimpleUser>
§description: String
§environment: String
§id: i64
§node_id: String
§original_environment: String
§payload: PayloadOneOf
§performed_via_github_app: Option<GitHubApp>
§production_environment: bool
A request for a specific ref(branch,sha,tag) to be deployed
ref_: String
§repository_url: String
§sha: String
§statuses_url: String
§task: String
§transient_environment: bool
A request for a specific ref(branch,sha,tag) to be deployed
updated_at: Option<DateTime<Utc>>
§url: String
Trait Implementations§
source§impl Clone for Deployment
impl Clone for Deployment
source§fn clone(&self) -> Deployment
fn clone(&self) -> Deployment
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 Debug for Deployment
impl Debug for Deployment
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 JsonSchema for Deployment
impl JsonSchema for Deployment
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<Deployment> for Deployment
impl PartialEq<Deployment> for Deployment
source§fn eq(&self, other: &Deployment) -> bool
fn eq(&self, other: &Deployment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Deployment
impl Serialize for Deployment
impl StructuralPartialEq for Deployment
Auto Trait Implementations§
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