Struct RegistryImagePath
pub struct RegistryImagePath { /* private fields */ }Expand description
A registry-qualified or local repository path.
Implementations§
§impl RegistryImagePath
impl RegistryImagePath
pub fn new(
registry: Option<DockerRegistry>,
repository: DockerRepositoryPath,
) -> RegistryImagePath
pub fn new( registry: Option<DockerRegistry>, repository: DockerRepositoryPath, ) -> RegistryImagePath
Creates a registry image path from validated parts.
pub fn registry(&self) -> Option<&DockerRegistry>
pub fn registry(&self) -> Option<&DockerRegistry>
Returns the optional registry host.
pub fn repository_path(&self) -> &DockerRepositoryPath
pub fn repository_path(&self) -> &DockerRepositoryPath
Returns the repository path.
Trait Implementations§
§impl Clone for RegistryImagePath
impl Clone for RegistryImagePath
§fn clone(&self) -> RegistryImagePath
fn clone(&self) -> RegistryImagePath
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 more§impl Debug for RegistryImagePath
impl Debug for RegistryImagePath
§impl Display for RegistryImagePath
impl Display for RegistryImagePath
§impl Hash for RegistryImagePath
impl Hash for RegistryImagePath
§impl Ord for RegistryImagePath
impl Ord for RegistryImagePath
§fn cmp(&self, other: &RegistryImagePath) -> Ordering
fn cmp(&self, other: &RegistryImagePath) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for RegistryImagePath
impl PartialEq for RegistryImagePath
§impl PartialOrd for RegistryImagePath
impl PartialOrd for RegistryImagePath
impl Eq for RegistryImagePath
impl StructuralPartialEq for RegistryImagePath
Auto Trait Implementations§
impl Freeze for RegistryImagePath
impl RefUnwindSafe for RegistryImagePath
impl Send for RegistryImagePath
impl Sync for RegistryImagePath
impl Unpin for RegistryImagePath
impl UnsafeUnpin for RegistryImagePath
impl UnwindSafe for RegistryImagePath
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