Struct simmons_rooms::Bathroom [] [src]

pub struct Bathroom<'a> {
    pub number: RoomNumber<'a>,
    pub rooms: Vec<RoomNumber<'a>>,
    pub location: BathroomLocation,
}

A bathroom.

Fields

Even bathrooms have room numbers.

Which rooms do this bathroom service?

Where is this bathroom?

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter.

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

impl<'a> PartialEq for Bathroom<'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> Display for Bathroom<'a>
[src]

Formats the value using the given formatter. Read more