pub struct ImagesResult {
pub images: Vec<ImageInfo>,
pub raw_output: String,
}
Expand description
Result from images command
Fields§
§images: Vec<ImageInfo>
List of images
raw_output: String
Raw output (for non-JSON formats)
Implementations§
Source§impl ImagesResult
impl ImagesResult
Sourcepub fn unique_images(&self) -> Vec<String>
pub fn unique_images(&self) -> Vec<String>
Get unique images
Sourcepub fn total_size(&self) -> String
pub fn total_size(&self) -> String
Get total size
Trait Implementations§
Source§impl Clone for ImagesResult
impl Clone for ImagesResult
Source§fn clone(&self) -> ImagesResult
fn clone(&self) -> ImagesResult
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ImagesResult
impl RefUnwindSafe for ImagesResult
impl Send for ImagesResult
impl Sync for ImagesResult
impl Unpin for ImagesResult
impl UnwindSafe for ImagesResult
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