Struct dockworker::ContainerListOptions [−][src]
pub struct ContainerListOptions { /* fields omitted */ }
Options for Docker::containers
. This uses a "builder" pattern, so
most methods will consume the object and return a new one.
Methods
impl ContainerListOptions
[src]
impl ContainerListOptions
pub fn all(self) -> Self
[src]
pub fn all(self) -> Self
Return all containers, including stopped ones.
pub fn latest(self) -> Self
[src]
pub fn latest(self) -> Self
Return just the most-recently-started container (even if it has stopped).
pub fn limit(self, n: u64) -> Self
[src]
pub fn limit(self, n: u64) -> Self
Limit the number of containers we return.
pub fn size(self) -> Self
[src]
pub fn size(self) -> Self
Calculate the total file sizes for our containers. WARNING: This is very expensive.
pub fn to_url_params(&self) -> String
[src]
pub fn to_url_params(&self) -> String
Convert to URL parameters.
Trait Implementations
impl Debug for ContainerListOptions
[src]
impl Debug for ContainerListOptions
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ContainerListOptions
[src]
impl Clone for ContainerListOptions
fn clone(&self) -> ContainerListOptions
[src]
fn clone(&self) -> ContainerListOptions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for ContainerListOptions
[src]
impl Default for ContainerListOptions
fn default() -> ContainerListOptions
[src]
fn default() -> ContainerListOptions
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ContainerListOptions
impl Send for ContainerListOptions
impl Sync for ContainerListOptions
impl Sync for ContainerListOptions