[−][src]Struct bollard::service::UpdateServiceOptions
Parameters used in the Update Service API
Examples
use bollard::service::UpdateServiceOptions; UpdateServiceOptions{ version: 1234, ..Default::default() };
Fields
version: u64
The version number of the service object being updated. This is required to avoid conflicting writes. This version number should be the value as currently set on the service before the update.
registry_auth_from_previous: bool
If the X-Registry-Auth header is not specified, this parameter indicates whether to use registry authorization credentials from the current or the previous spec.
rollback: bool
Set to this parameter to true to cause a server-side rollback to the previous service spec. The supplied spec will be ignored in this case.
Trait Implementations
impl Clone for UpdateServiceOptions
[src]
fn clone(&self) -> UpdateServiceOptions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for UpdateServiceOptions
[src]
impl Debug for UpdateServiceOptions
[src]
impl Default for UpdateServiceOptions
[src]
fn default() -> UpdateServiceOptions
[src]
impl<'a> UpdateServiceQueryParams<&'a str, String> for UpdateServiceOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for UpdateServiceOptions
impl Send for UpdateServiceOptions
impl Sync for UpdateServiceOptions
impl Unpin for UpdateServiceOptions
impl UnwindSafe for UpdateServiceOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,