pub struct TaskGroup {Show 20 fields
pub affinities: Option<Vec<Affinity>>,
pub constraints: Option<Vec<Constraint>>,
pub consul: Option<Consul>,
pub count: Option<i32>,
pub ephemeral_disk: Option<EphemeralDisk>,
pub max_client_disconnect: Option<i64>,
pub meta: Option<HashMap<String, String>>,
pub migrate: Option<MigrateStrategy>,
pub name: Option<String>,
pub networks: Option<Vec<NetworkResource>>,
pub reschedule_policy: Option<ReschedulePolicy>,
pub restart_policy: Option<RestartPolicy>,
pub scaling: Option<ScalingPolicy>,
pub services: Option<Vec<Service>>,
pub shutdown_delay: Option<i64>,
pub spreads: Option<Vec<Spread>>,
pub stop_after_client_disconnect: Option<i64>,
pub tasks: Option<Vec<Task>>,
pub update: Option<UpdateStrategy>,
pub volumes: Option<HashMap<String, VolumeRequest>>,
}Fields§
§affinities: Option<Vec<Affinity>>§constraints: Option<Vec<Constraint>>§consul: Option<Consul>§count: Option<i32>§ephemeral_disk: Option<EphemeralDisk>§max_client_disconnect: Option<i64>§meta: Option<HashMap<String, String>>§migrate: Option<MigrateStrategy>§name: Option<String>§networks: Option<Vec<NetworkResource>>§reschedule_policy: Option<ReschedulePolicy>§restart_policy: Option<RestartPolicy>§scaling: Option<ScalingPolicy>§services: Option<Vec<Service>>§shutdown_delay: Option<i64>§spreads: Option<Vec<Spread>>§stop_after_client_disconnect: Option<i64>§tasks: Option<Vec<Task>>§update: Option<UpdateStrategy>§volumes: Option<HashMap<String, VolumeRequest>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskGroup
impl<'de> Deserialize<'de> for TaskGroup
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
impl StructuralPartialEq for TaskGroup
Auto Trait Implementations§
impl Freeze for TaskGroup
impl RefUnwindSafe for TaskGroup
impl Send for TaskGroup
impl Sync for TaskGroup
impl Unpin for TaskGroup
impl UnwindSafe for TaskGroup
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