Struct simple_uuid::UUID[][src]

pub struct UUID(_);
Expand description

Is a 128-bit number used to identify information in computer systems.

Implementations

This is supported on crate feature hash_md5 only.

New UUID version-3 using md5 algorithme

This is supported on crate feature hash_sha1 only.

New UUID version-5 using sha1 algorithme

This is supported on crate feature rand_num only.

New UUID version-4 from truly-random number

This is supported on crate feature mac_addr only.

New UUID version-1

This is supported on crate feature mac_addr only.

New UUID with a user defined MAC-address

This is supported on crate feature mac_addr only.

New UUID with specific timestamp

UUID namespace for domain name system (DNS).

UUID namespace for ISO object identifiers (OIDs).

UUID namespace for uniform resource locators (URLs).

UUID namespace for X.500 distinguished names (DNs).

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Formats the value using the given formatter.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Converts the given value to a String. Read more

Formats the value using the given formatter.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.