pub struct PodSystemdUnitsGenerateOptions<'a> {Show 15 fields
pub name: &'a str,
pub additional_env_variables: Option<Vec<&'a str>>,
pub after: Option<Vec<&'a str>>,
pub container_prefix: Option<&'a str>,
pub new: Option<bool>,
pub no_header: Option<bool>,
pub pod_prefix: Option<&'a str>,
pub requires: Option<Vec<&'a str>>,
pub restart_policy: Option<&'a str>,
pub restart_sec: Option<i64>,
pub separator: Option<&'a str>,
pub start_timeout: Option<i64>,
pub stop_timeout: Option<i64>,
pub use_name: Option<bool>,
pub wants: Option<Vec<&'a str>>,
}
Fields§
§name: &'a str
§additional_env_variables: Option<Vec<&'a str>>
§after: Option<Vec<&'a str>>
§container_prefix: Option<&'a str>
§new: Option<bool>
§no_header: Option<bool>
§pod_prefix: Option<&'a str>
§requires: Option<Vec<&'a str>>
§restart_policy: Option<&'a str>
§restart_sec: Option<i64>
§separator: Option<&'a str>
§start_timeout: Option<i64>
§stop_timeout: Option<i64>
§use_name: Option<bool>
§wants: Option<Vec<&'a str>>
Trait Implementations§
Source§impl<'a> Default for PodSystemdUnitsGenerateOptions<'a>
impl<'a> Default for PodSystemdUnitsGenerateOptions<'a>
Source§fn default() -> PodSystemdUnitsGenerateOptions<'a>
fn default() -> PodSystemdUnitsGenerateOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for PodSystemdUnitsGenerateOptions<'a>
impl<'a> RefUnwindSafe for PodSystemdUnitsGenerateOptions<'a>
impl<'a> Send for PodSystemdUnitsGenerateOptions<'a>
impl<'a> Sync for PodSystemdUnitsGenerateOptions<'a>
impl<'a> Unpin for PodSystemdUnitsGenerateOptions<'a>
impl<'a> UnwindSafe for PodSystemdUnitsGenerateOptions<'a>
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