pub struct ContainerUpdateLibpod<'a> {
pub restart_policy: Option<&'a str>,
pub restart_retries: Option<i64>,
}
Available on crate feature
v5
only.Fields§
§restart_policy: Option<&'a str>
New restart policy for the container.
restart_retries: Option<i64>
New amount of retries for the container’s restart policy. Only allowed if restartPolicy is set to on-failure
Trait Implementations§
Source§impl<'a> Debug for ContainerUpdateLibpod<'a>
impl<'a> Debug for ContainerUpdateLibpod<'a>
Source§impl<'a> Default for ContainerUpdateLibpod<'a>
impl<'a> Default for ContainerUpdateLibpod<'a>
Source§fn default() -> ContainerUpdateLibpod<'a>
fn default() -> ContainerUpdateLibpod<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ContainerUpdateLibpod<'a>
impl<'a> RefUnwindSafe for ContainerUpdateLibpod<'a>
impl<'a> Send for ContainerUpdateLibpod<'a>
impl<'a> Sync for ContainerUpdateLibpod<'a>
impl<'a> Unpin for ContainerUpdateLibpod<'a>
impl<'a> UnwindSafe for ContainerUpdateLibpod<'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