pub struct BuildContext(/* private fields */);Expand description
A build context path label.
Implementations§
Source§impl BuildContext
impl BuildContext
Sourcepub fn new(value: impl AsRef<str>) -> Result<BuildContext, DockerBuildError>
pub fn new(value: impl AsRef<str>) -> Result<BuildContext, DockerBuildError>
Creates a build context label.
Trait Implementations§
Source§impl AsRef<str> for BuildContext
impl AsRef<str> for BuildContext
Source§impl Clone for BuildContext
impl Clone for BuildContext
Source§fn clone(&self) -> BuildContext
fn clone(&self) -> BuildContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BuildContext
impl Debug for BuildContext
Source§impl Display for BuildContext
impl Display for BuildContext
Source§impl Hash for BuildContext
impl Hash for BuildContext
Source§impl Ord for BuildContext
impl Ord for BuildContext
Source§fn cmp(&self, other: &BuildContext) -> Ordering
fn cmp(&self, other: &BuildContext) -> Ordering
1.21.0 (const: unstable) · 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
Source§impl PartialEq for BuildContext
impl PartialEq for BuildContext
Source§fn eq(&self, other: &BuildContext) -> bool
fn eq(&self, other: &BuildContext) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BuildContext
impl PartialOrd for BuildContext
impl Eq for BuildContext
impl StructuralPartialEq for BuildContext
Auto Trait Implementations§
impl Freeze for BuildContext
impl RefUnwindSafe for BuildContext
impl Send for BuildContext
impl Sync for BuildContext
impl Unpin for BuildContext
impl UnsafeUnpin for BuildContext
impl UnwindSafe for BuildContext
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