pub struct LoadKeysetRequest {
pub client_id: Uuid,
pub keyset_id: Option<IdentifiedBy>,
}Expand description
Request to load a keyset on behalf of a client. This is used by clients before indexing or querying data and includes key material which can be derived by the client to generate encrypted index terms.
If a keyset_id is not provided the client’s default keyset will be loaded.
Requires the data_key:retrieve scope (though this may change in the future).
Response is a LoadKeysetResponse.
Fields§
§client_id: Uuid§keyset_id: Option<IdentifiedBy>The keyset to load. Accepts a UUID or a name string. If omitted, the client’s default keyset is used.
Trait Implementations§
Source§impl ComposeSchema for LoadKeysetRequest
impl ComposeSchema for LoadKeysetRequest
Source§impl Debug for LoadKeysetRequest
impl Debug for LoadKeysetRequest
Source§impl<'de> Deserialize<'de> for LoadKeysetRequest
impl<'de> Deserialize<'de> for LoadKeysetRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LoadKeysetRequest
impl PartialEq for LoadKeysetRequest
Source§fn eq(&self, other: &LoadKeysetRequest) -> bool
fn eq(&self, other: &LoadKeysetRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LoadKeysetRequest
impl PartialOrd for LoadKeysetRequest
Source§impl Serialize for LoadKeysetRequest
impl Serialize for LoadKeysetRequest
impl StructuralPartialEq for LoadKeysetRequest
Source§impl ToSchema for LoadKeysetRequest
impl ToSchema for LoadKeysetRequest
Auto Trait Implementations§
impl Freeze for LoadKeysetRequest
impl RefUnwindSafe for LoadKeysetRequest
impl Send for LoadKeysetRequest
impl Sync for LoadKeysetRequest
impl Unpin for LoadKeysetRequest
impl UnsafeUnpin for LoadKeysetRequest
impl UnwindSafe for LoadKeysetRequest
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more