pub struct Deployment {
pub ID: Option<String>,
pub namespace: Option<String>,
pub job_id: Option<String>,
pub job_version: Option<i32>,
pub job_modify_index: Option<i32>,
pub job_spec_modify_index: Option<i32>,
pub job_create_index: Option<i32>,
pub task_groups: Option<HashMap<String, DeploymentState>>,
pub status: Option<String>,
pub status_description: Option<String>,
pub create_index: Option<i32>,
pub modify_index: Option<i32>,
}
Fields§
§ID: Option<String>
§namespace: Option<String>
§job_id: Option<String>
§job_version: Option<i32>
§job_modify_index: Option<i32>
§job_spec_modify_index: Option<i32>
§job_create_index: Option<i32>
§task_groups: Option<HashMap<String, DeploymentState>>
§status: Option<String>
§status_description: Option<String>
§create_index: Option<i32>
§modify_index: Option<i32>
Implementations§
Source§impl Deployment
impl Deployment
pub fn new() -> 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§const fn clone_from(&mut self, source: &Self)
const 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 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