pub struct RoleDelegationResponse {
pub id: Uuid,
pub user_id: Uuid,
pub role: String,
pub organization_id: Option<Uuid>,
pub valid_until: Option<DateTime<Utc>>,
pub delegated_from_user_id: Option<Uuid>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Fields§
§id: Uuid§user_id: Uuid§role: String§organization_id: Option<Uuid>§valid_until: Option<DateTime<Utc>>§delegated_from_user_id: Option<Uuid>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl ComposeSchema for RoleDelegationResponse
impl ComposeSchema for RoleDelegationResponse
Source§impl Debug for RoleDelegationResponse
impl Debug for RoleDelegationResponse
Source§impl From<UserRoleAssignment> for RoleDelegationResponse
impl From<UserRoleAssignment> for RoleDelegationResponse
Source§fn from(a: UserRoleAssignment) -> Self
fn from(a: UserRoleAssignment) -> Self
Converts to this type from the input type.
Source§impl Serialize for RoleDelegationResponse
impl Serialize for RoleDelegationResponse
Auto Trait Implementations§
impl Freeze for RoleDelegationResponse
impl RefUnwindSafe for RoleDelegationResponse
impl Send for RoleDelegationResponse
impl Sync for RoleDelegationResponse
impl Unpin for RoleDelegationResponse
impl UnsafeUnpin for RoleDelegationResponse
impl UnwindSafe for RoleDelegationResponse
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Fake for T
impl<T> Fake for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 moreCreates a shared type from an unshared type.