[][src]Type Definition ruma_identifiers::ServerNameRef

type ServerNameRef<'a> = ServerName<&'a str>;

A reference to a homeserver IP address or hostname.

Can be created via TryFrom<&str>; implements Serialize and Deserialize if the serde feature is enabled.