Struct ruma_identity_service_api::lookup::get_hash_parameters::v2::Response
source · pub struct Response {
pub lookup_pepper: String,
pub algorithms: Vec<IdentifierHashingAlgorithm>,
}
Expand description
Response type for the get_hash_parameters
endpoint.
Fields§
§lookup_pepper: String
The pepper the client MUST use in hashing identifiers, and MUST supply to the /lookup endpoint when performing lookups.
Servers SHOULD rotate this string often.
algorithms: Vec<IdentifierHashingAlgorithm>
The algorithms the server supports.
Must contain at least sha256
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)