pub struct Urn(/* private fields */);Expand description
A UUID formatted as a Uniform Resource Name.
Created by calling UUID::urn(), this wrapper implements Display
to render the UUID with the urn:uuid: prefix as specified in RFC 4122.
urn:uuid:550e8400-e29b-41d4-a716-446655440000Trait Implementations§
impl Copy for Urn
Auto Trait Implementations§
impl Freeze for Urn
impl RefUnwindSafe for Urn
impl Send for Urn
impl Sync for Urn
impl Unpin for Urn
impl UnsafeUnpin for Urn
impl UnwindSafe for Urn
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