pub struct BundleName(/* private fields */);Expand description
The handle for a named bundle.
A newtype around String. The distinct type stops it being confused with a
wire-form scope ("cloud:deploy") at API boundaries.
Implementations§
Trait Implementations§
Source§impl Clone for BundleName
impl Clone for BundleName
Source§fn clone(&self) -> BundleName
fn clone(&self) -> BundleName
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 BundleName
impl Debug for BundleName
Source§impl<'de> Deserialize<'de> for BundleName
impl<'de> Deserialize<'de> for BundleName
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BundleName
impl Display for BundleName
impl Eq for BundleName
Source§impl From<&str> for BundleName
impl From<&str> for BundleName
Source§impl From<BundleName> for ScopeOrBundle
impl From<BundleName> for ScopeOrBundle
Source§fn from(b: BundleName) -> Self
fn from(b: BundleName) -> Self
Converts to this type from the input type.
Source§impl From<String> for BundleName
impl From<String> for BundleName
Source§impl Hash for BundleName
impl Hash for BundleName
Source§impl PartialEq for BundleName
impl PartialEq for BundleName
Source§impl Serialize for BundleName
impl Serialize for BundleName
impl StructuralPartialEq for BundleName
Auto Trait Implementations§
impl Freeze for BundleName
impl RefUnwindSafe for BundleName
impl Send for BundleName
impl Sync for BundleName
impl Unpin for BundleName
impl UnsafeUnpin for BundleName
impl UnwindSafe for BundleName
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