ruma-identifiers 0.22.1

Deprecated: crate merged into ruma-common
Documentation
//! Matrix room name.

/// The name of a room.
///
/// It can't exceed 255 bytes or be empty.
#[repr(transparent)]
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct RoomName(str);

opaque_identifier_validated!(RoomName, ruma_identifiers_validation::room_name::validate);