Struct simple_uuid::Layout[][src]

pub struct Layout {
    pub field_low: u32,
    pub field_mid: u16,
    pub field_high_and_version: u16,
    pub clock_seq_high_and_reserved: u8,
    pub clock_seq_low: u8,
    pub node: Node,
}
Expand description

The UUID format is 16 octets.

Fields

field_low: u32

The low field of the Timestamp.

field_mid: u16

The mid field of the Timestamp.

field_high_and_version: u16

The high field of the Timestamp multiplexed with the version number.

clock_seq_high_and_reserved: u8

The high field of the ClockSeq multiplexed with the variant.

clock_seq_low: u8

The low field of the ClockSeq.

node: Node

IEEE 802 MAC-address.

Implementations

This is supported on crate feature mac_addr only.

Get timestamp where the UUID generated in

This is supported on crate feature mac_addr only.

Get the MAC-address where the UUID generated with

Returns the five field values of the UUID in big-endian order.

Returns the five field values of the UUID in little-endian order.

Return the memory representation of the UUID in big-endian order .

Return the memory representation of the UUID in little-endian order .

Version of the current generated UUID.

Variant field of the current generated UUID.

Trait Implementations

Formats the value using the given formatter. Read more

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

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 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.