Struct bollard::service::UpdateServiceOptions [−][src]
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: 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]
pub 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 Serialize for UpdateServiceOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for UpdateServiceOptions
[src]
impl Send for UpdateServiceOptions
[src]
impl Sync for UpdateServiceOptions
[src]
impl Unpin for UpdateServiceOptions
[src]
impl UnwindSafe for UpdateServiceOptions
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,