Struct simmons_rooms::RoomNumber [] [src]

pub struct RoomNumber<'a> {
    pub integer: u32,
    pub suffix: Option<&'a str>,
}

A room number.

Fields

The integral part of the room number. For example, "741" or "232".

The suffix of the room number. For example, "A" or "B".

Trait Implementations

impl<'a> Clone for RoomNumber<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for RoomNumber<'a>
[src]

Formats the value using the given formatter.

impl<'a> Eq for RoomNumber<'a>
[src]

impl<'a> PartialEq for RoomNumber<'a>
[src]

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

This method tests for !=.

impl<'a> Hash for RoomNumber<'a>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<'a> Display for RoomNumber<'a>
[src]

Formats the value using the given formatter. Read more