pub struct UserRoleAssignmentResponse {
pub id: Uuid,
pub user_id: Uuid,
pub role: String,
pub organization_id: Option<Uuid>,
pub is_primary: bool,
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>§is_primary: bool§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 UserRoleAssignmentResponse
impl ComposeSchema for UserRoleAssignmentResponse
Source§impl Debug for UserRoleAssignmentResponse
impl Debug for UserRoleAssignmentResponse
Source§impl From<UserRoleAssignment> for UserRoleAssignmentResponse
impl From<UserRoleAssignment> for UserRoleAssignmentResponse
Source§fn from(a: UserRoleAssignment) -> Self
fn from(a: UserRoleAssignment) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UserRoleAssignmentResponse
impl RefUnwindSafe for UserRoleAssignmentResponse
impl Send for UserRoleAssignmentResponse
impl Sync for UserRoleAssignmentResponse
impl Unpin for UserRoleAssignmentResponse
impl UnsafeUnpin for UserRoleAssignmentResponse
impl UnwindSafe for UserRoleAssignmentResponse
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.