pub struct RenameContainerOptions<T>{
pub name: T,
}
Expand description
Parameters used in the Rename Container API
§Examples
use bollard::container::RenameContainerOptions;
RenameContainerOptions {
name: "my_new_container_name"
};
Fields§
§name: T
New name for the container.
Trait Implementations§
Source§impl<T> Clone for RenameContainerOptions<T>
impl<T> Clone for RenameContainerOptions<T>
Source§fn clone(&self) -> RenameContainerOptions<T>
fn clone(&self) -> RenameContainerOptions<T>
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<T> Debug for RenameContainerOptions<T>
impl<T> Debug for RenameContainerOptions<T>
Source§impl<T> Default for RenameContainerOptions<T>
impl<T> Default for RenameContainerOptions<T>
Source§fn default() -> RenameContainerOptions<T>
fn default() -> RenameContainerOptions<T>
Returns the “default value” for a type. Read more
Source§impl<T> PartialEq for RenameContainerOptions<T>
impl<T> PartialEq for RenameContainerOptions<T>
Source§impl<T> Serialize for RenameContainerOptions<T>
impl<T> Serialize for RenameContainerOptions<T>
impl<T> StructuralPartialEq for RenameContainerOptions<T>
Auto Trait Implementations§
impl<T> Freeze for RenameContainerOptions<T>where
T: Freeze,
impl<T> RefUnwindSafe for RenameContainerOptions<T>where
T: RefUnwindSafe,
impl<T> Send for RenameContainerOptions<T>where
T: Send,
impl<T> Sync for RenameContainerOptions<T>where
T: Sync,
impl<T> Unpin for RenameContainerOptions<T>where
T: Unpin,
impl<T> UnwindSafe for RenameContainerOptions<T>where
T: UnwindSafe,
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