pub struct SidecarTask {
pub name: Option<String>,
pub driver: Option<String>,
pub user: Option<String>,
pub config: Option<HashMap<String, Value>>,
pub env: Option<HashMap<String, String>>,
pub resources: Option<Box<Resources>>,
pub meta: Option<HashMap<String, String>>,
pub kill_timeout: Option<i64>,
pub log_config: Option<Box<LogConfig>>,
pub shutdown_delay: Option<i64>,
pub kill_signal: Option<String>,
}
Fields§
§name: Option<String>
§driver: Option<String>
§user: Option<String>
§config: Option<HashMap<String, Value>>
§env: Option<HashMap<String, String>>
§resources: Option<Box<Resources>>
§meta: Option<HashMap<String, String>>
§kill_timeout: Option<i64>
§log_config: Option<Box<LogConfig>>
§shutdown_delay: Option<i64>
§kill_signal: Option<String>
Implementations§
Source§impl SidecarTask
impl SidecarTask
pub fn new() -> SidecarTask
Trait Implementations§
Source§impl Clone for SidecarTask
impl Clone for SidecarTask
Source§fn clone(&self) -> SidecarTask
fn clone(&self) -> SidecarTask
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 SidecarTask
impl Debug for SidecarTask
Source§impl<'de> Deserialize<'de> for SidecarTask
impl<'de> Deserialize<'de> for SidecarTask
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 SidecarTask
impl PartialEq for SidecarTask
Source§impl Serialize for SidecarTask
impl Serialize for SidecarTask
impl StructuralPartialEq for SidecarTask
Auto Trait Implementations§
impl Freeze for SidecarTask
impl RefUnwindSafe for SidecarTask
impl Send for SidecarTask
impl Sync for SidecarTask
impl Unpin for SidecarTask
impl UnwindSafe for SidecarTask
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