Struct github_rest::model::misc::deployments::Deployment
source · pub struct Deployment {Show 14 fields
pub id: i64,
pub node_id: String,
pub sha: String,
pub ref_field: String,
pub task: String,
pub environment: String,
pub creator: Option<SimpleUser>,
pub payload: Value,
pub description: Option<String>,
pub statuses_url: String,
pub repository_url: String,
pub url: String,
pub created_at: String,
pub updated_at: String,
}
Fields§
§id: i64
§node_id: String
§sha: String
§ref_field: String
§task: String
§environment: String
§creator: Option<SimpleUser>
§payload: Value
No example given by GitHub’s docs. Good luck.
description: Option<String>
§statuses_url: String
§repository_url: String
§url: String
§created_at: String
§updated_at: 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 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<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