pub struct InstallationSymbol(/* private fields */);Expand description
A bounded, non-secret symbol retained in plans and diagnostics.
Implementations§
Source§impl InstallationSymbol
impl InstallationSymbol
Sourcepub fn new(
value: impl Into<String>,
) -> Result<InstallationSymbol, InstallationPlanError>
pub fn new( value: impl Into<String>, ) -> Result<InstallationSymbol, InstallationPlanError>
Validates one exact source-like symbol without normalization.
Trait Implementations§
Source§impl Clone for InstallationSymbol
impl Clone for InstallationSymbol
Source§fn clone(&self) -> InstallationSymbol
fn clone(&self) -> InstallationSymbol
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 InstallationSymbol
impl Debug for InstallationSymbol
impl Eq for InstallationSymbol
Source§impl Hash for InstallationSymbol
impl Hash for InstallationSymbol
Source§impl Ord for InstallationSymbol
impl Ord for InstallationSymbol
Source§fn cmp(&self, other: &InstallationSymbol) -> Ordering
fn cmp(&self, other: &InstallationSymbol) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for InstallationSymbol
impl PartialEq for InstallationSymbol
Source§impl PartialOrd for InstallationSymbol
impl PartialOrd for InstallationSymbol
impl StructuralPartialEq for InstallationSymbol
Auto Trait Implementations§
impl Freeze for InstallationSymbol
impl RefUnwindSafe for InstallationSymbol
impl Send for InstallationSymbol
impl Sync for InstallationSymbol
impl Unpin for InstallationSymbol
impl UnsafeUnpin for InstallationSymbol
impl UnwindSafe for InstallationSymbol
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