Struct ruma_events::room::JsonWebKeyInit [−][src]
pub struct JsonWebKeyInit {
pub kty: String,
pub key_ops: Vec<String>,
pub alg: String,
pub k: String,
pub ext: bool,
}Expand description
Initial set of fields of JsonWebKey.
This struct will not be updated even if additional fields are added to JsonWebKey in a new
(non-breaking) release of the Matrix specification.
Fields
kty: StringKey type. Must be oct.
key_ops: Vec<String>Key operations. Must at least contain encrypt and decrypt.
alg: StringRequired. Algorithm. Must be A256CTR.
k: StringThe key, encoded as url-safe unpadded base64.
ext: boolExtractable. Must be true. This is a
W3C extension.
Trait Implementations
impl From<JsonWebKeyInit> for JsonWebKey[src]
impl From<JsonWebKeyInit> for JsonWebKey[src]fn from(init: JsonWebKeyInit) -> Self[src]
fn from(init: JsonWebKeyInit) -> Self[src]Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for JsonWebKeyInit
impl Send for JsonWebKeyInit
impl Sync for JsonWebKeyInit
impl Unpin for JsonWebKeyInit
impl UnwindSafe for JsonWebKeyInit
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,