[−][src]Struct ruma_identifiers::ServerName
A Matrix-spec compliant server name.
Implementations
impl ServerName
[src]
Trait Implementations
impl AsRef<str> for ServerName
[src]
impl Debug for ServerName
[src]
impl Display for ServerName
[src]
impl Eq for ServerName
[src]
impl Hash for ServerName
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ServerName
[src]
fn cmp(&self, other: &ServerName) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ServerName> for ServerName
[src]
fn eq(&self, other: &ServerName) -> bool
[src]
fn ne(&self, other: &ServerName) -> bool
[src]
impl PartialEq<ServerName> for str
[src]
impl PartialEq<ServerName> for String
[src]
impl PartialEq<String> for ServerName
[src]
impl PartialEq<str> for ServerName
[src]
impl PartialOrd<ServerName> for ServerName
[src]
fn partial_cmp(&self, other: &ServerName) -> Option<Ordering>
[src]
fn lt(&self, other: &ServerName) -> bool
[src]
fn le(&self, other: &ServerName) -> bool
[src]
fn gt(&self, other: &ServerName) -> bool
[src]
fn ge(&self, other: &ServerName) -> bool
[src]
impl Serialize for ServerName
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for ServerName
[src]
impl StructuralPartialEq for ServerName
[src]
impl ToOwned for ServerName
[src]
type Owned = Box<ServerName>
The resulting type after obtaining ownership.
fn to_owned(&self) -> Self::Owned
[src]
fn clone_into(&self, target: &mut Self::Owned)
[src]
impl<'a> TryFrom<&'a str> for &'a ServerName
[src]
Auto Trait Implementations
impl RefUnwindSafe for ServerName
impl Send for ServerName
impl Sync for ServerName
impl Unpin for ServerName
impl UnwindSafe for ServerName
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,