pub struct ProviderId(/* private fields */);Expand description
Bounded canonical cloud-provider identifier.
Implementations§
Source§impl ProviderId
impl ProviderId
Sourcepub const fn new(value: &'static str) -> Result<Self, IdentityError>
pub const fn new(value: &'static str) -> Result<Self, IdentityError>
Validates a static provider identifier.
Identifiers use lowercase ASCII letters, digits, and single internal hyphens. This keeps equality independent of locale, Unicode normalization, and case folding.
Trait Implementations§
Source§impl Clone for ProviderId
impl Clone for ProviderId
Source§fn clone(&self) -> ProviderId
fn clone(&self) -> ProviderId
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 moreimpl Copy for ProviderId
Source§impl Debug for ProviderId
impl Debug for ProviderId
impl Eq for ProviderId
Source§impl Hash for ProviderId
impl Hash for ProviderId
Source§impl Ord for ProviderId
impl Ord for ProviderId
Source§fn cmp(&self, other: &ProviderId) -> Ordering
fn cmp(&self, other: &ProviderId) -> 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 ProviderId
impl PartialEq for ProviderId
Source§impl PartialOrd for ProviderId
impl PartialOrd for ProviderId
impl StructuralPartialEq for ProviderId
Auto Trait Implementations§
impl Freeze for ProviderId
impl RefUnwindSafe for ProviderId
impl Send for ProviderId
impl Sync for ProviderId
impl Unpin for ProviderId
impl UnsafeUnpin for ProviderId
impl UnwindSafe for ProviderId
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