[][src]Struct ruma_identifiers::ServerKeyId

pub struct ServerKeyId { /* fields omitted */ }

Key identifiers used for homeserver signing keys.

Implementations

impl ServerKeyId[src]

pub fn algorithm(&self) -> ServerKeyAlgorithm[src]

Returns key algorithm of the server key ID.

pub fn version(&self) -> &str[src]

Returns the version of the server key ID.

impl ServerKeyId[src]

pub fn as_str(&self) -> &str[src]

Creates a string slice from this ServerKeyId

pub fn as_bytes(&self) -> &[u8][src]

Creates a byte slice from this ServerKeyId

Trait Implementations

impl AsRef<str> for ServerKeyId[src]

impl Clone for ServerKeyId[src]

impl Debug for ServerKeyId[src]

impl<'de> Deserialize<'de> for ServerKeyId[src]

impl Display for ServerKeyId[src]

impl Eq for ServerKeyId[src]

impl From<ServerKeyId> for String[src]

impl Hash for ServerKeyId[src]

impl Ord for ServerKeyId[src]

impl<'_> PartialEq<&'_ str> for ServerKeyId[src]

impl PartialEq<ServerKeyId> for ServerKeyId[src]

impl PartialEq<ServerKeyId> for str[src]

impl<'_> PartialEq<ServerKeyId> for &'_ str[src]

impl PartialEq<ServerKeyId> for String[src]

impl PartialEq<String> for ServerKeyId[src]

impl PartialEq<str> for ServerKeyId[src]

impl PartialOrd<ServerKeyId> for ServerKeyId[src]

impl Serialize for ServerKeyId[src]

impl<'_> TryFrom<&'_ str> for ServerKeyId[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<String> for ServerKeyId[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,