ImageBuilder

Trait ImageBuilder 

Source
pub trait ImageBuilder: Sized {
    // Required methods
    fn with_sample_data(self) -> Self;
    fn with_variation(self, variation: impl AsRef<str>) -> Self;
    fn with_version(self, version: impl AsRef<str>) -> Self;
    fn with_repository(self, repository: impl ImageRepository) -> Self;
}

Required Methods§

Source

fn with_sample_data(self) -> Self

Source

fn with_variation(self, variation: impl AsRef<str>) -> Self

Source

fn with_version(self, version: impl AsRef<str>) -> Self

Source

fn with_repository(self, repository: impl ImageRepository) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§