pub struct Image { /* private fields */ }
Implementations§
Source§impl Image
impl Image
pub fn new(name: &str) -> Self
pub fn with_credentials(self, credentials: DockerCredentials) -> Self
pub fn with_optional_credentials( self, credentials: Option<DockerCredentials>, ) -> Self
pub async fn build(&self, docker: &Docker) -> Result<ContainerBuilder>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
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