Struct bollard::container::ResizeContainerTtyOptions
source · pub struct ResizeContainerTtyOptions {
pub width: u16,
pub height: u16,
}
Expand description
Parameters used in the Resize Container Tty API
§Examples
use bollard::container::ResizeContainerTtyOptions;
ResizeContainerTtyOptions {
width: 50,
height: 10,
};
Fields§
§width: u16
Width of the TTY session in characters
height: u16
Height of the TTY session in characters
Trait Implementations§
source§impl Clone for ResizeContainerTtyOptions
impl Clone for ResizeContainerTtyOptions
source§fn clone(&self) -> ResizeContainerTtyOptions
fn clone(&self) -> ResizeContainerTtyOptions
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 ResizeContainerTtyOptions
impl Debug for ResizeContainerTtyOptions
source§impl Default for ResizeContainerTtyOptions
impl Default for ResizeContainerTtyOptions
source§fn default() -> ResizeContainerTtyOptions
fn default() -> ResizeContainerTtyOptions
Returns the “default value” for a type. Read more
impl Copy for ResizeContainerTtyOptions
impl StructuralPartialEq for ResizeContainerTtyOptions
Auto Trait Implementations§
impl Freeze for ResizeContainerTtyOptions
impl RefUnwindSafe for ResizeContainerTtyOptions
impl Send for ResizeContainerTtyOptions
impl Sync for ResizeContainerTtyOptions
impl Unpin for ResizeContainerTtyOptions
impl UnwindSafe for ResizeContainerTtyOptions
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
)