Struct bollard::secret::UpdateSecretOptions
source · pub struct UpdateSecretOptions {
pub version: u64,
}
Expand description
Parameters used in the Update Secret API
§Examples
use bollard::secret::UpdateSecretOptions;
UpdateSecretOptions{
version: 1234,
..Default::default()
};
Fields§
§version: u64
The version number of the secret object being updated. This is required to avoid conflicting writes. This version number should be the value as currently set on the secret before the update.
Trait Implementations§
source§impl Clone for UpdateSecretOptions
impl Clone for UpdateSecretOptions
source§fn clone(&self) -> UpdateSecretOptions
fn clone(&self) -> UpdateSecretOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UpdateSecretOptions
impl Debug for UpdateSecretOptions
source§impl Default for UpdateSecretOptions
impl Default for UpdateSecretOptions
source§fn default() -> UpdateSecretOptions
fn default() -> UpdateSecretOptions
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateSecretOptions
impl PartialEq for UpdateSecretOptions
source§impl Serialize for UpdateSecretOptions
impl Serialize for UpdateSecretOptions
impl Copy for UpdateSecretOptions
impl StructuralPartialEq for UpdateSecretOptions
Auto Trait Implementations§
impl Freeze for UpdateSecretOptions
impl RefUnwindSafe for UpdateSecretOptions
impl Send for UpdateSecretOptions
impl Sync for UpdateSecretOptions
impl Unpin for UpdateSecretOptions
impl UnwindSafe for UpdateSecretOptions
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)