pub struct GrantKeysetRequest {
pub client_id: Uuid,
pub keyset_id: IdentifiedBy,
}Expand description
Request message to grant a client access to a keyset.
Requires the dataset:grant scope.
Response is an EmptyResponse.
Fields§
§client_id: Uuid§keyset_id: IdentifiedByThe keyset to grant access to. Accepts a UUID or a name string.
Trait Implementations§
Source§impl ComposeSchema for GrantKeysetRequest
impl ComposeSchema for GrantKeysetRequest
Source§impl Debug for GrantKeysetRequest
impl Debug for GrantKeysetRequest
Source§impl<'de> Deserialize<'de> for GrantKeysetRequest
impl<'de> Deserialize<'de> for GrantKeysetRequest
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 Dummy<(&CreateKeysetResponse, Uuid)> for GrantKeysetRequest
impl Dummy<(&CreateKeysetResponse, Uuid)> for GrantKeysetRequest
Source§impl Dummy<(&Keyset, Uuid)> for GrantKeysetRequest
Generate a GrantDatasetRequest for the given Keyset and client ID (Uuid).
impl Dummy<(&Keyset, Uuid)> for GrantKeysetRequest
Generate a GrantDatasetRequest for the given Keyset and client ID (Uuid).
Source§impl Serialize for GrantKeysetRequest
impl Serialize for GrantKeysetRequest
Source§impl ToSchema for GrantKeysetRequest
impl ToSchema for GrantKeysetRequest
Auto Trait Implementations§
impl Freeze for GrantKeysetRequest
impl RefUnwindSafe for GrantKeysetRequest
impl Send for GrantKeysetRequest
impl Sync for GrantKeysetRequest
impl Unpin for GrantKeysetRequest
impl UnsafeUnpin for GrantKeysetRequest
impl UnwindSafe for GrantKeysetRequest
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