[][src]Type Definition ruma_identifiers::UserId

type UserId = UserId<Box<str>>;

An owned user ID.

Can be created via new (if the rand feature is enabled) and TryFrom<String> + TryFrom<&str>, implements Serialize and Deserialize if the serde feature is enabled.