pub struct WorkspacePrincipal {
pub workspace_id: WorkspaceId,
pub principal_id: PrincipalId,
pub ephemeral_pub: Vec<u8>,
pub kek_wrapped: Vec<u8>,
pub kek_nonce: Vec<u8>,
pub created_at: DateTime<Utc>,
}Expand description
Workspace-Principal junction with wrapped KEK
Fields§
§workspace_id: WorkspaceId§principal_id: PrincipalId§ephemeral_pub: Vec<u8>§kek_wrapped: Vec<u8>§kek_nonce: Vec<u8>§created_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for WorkspacePrincipal
impl Clone for WorkspacePrincipal
Source§fn clone(&self) -> WorkspacePrincipal
fn clone(&self) -> WorkspacePrincipal
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WorkspacePrincipal
impl RefUnwindSafe for WorkspacePrincipal
impl Send for WorkspacePrincipal
impl Sync for WorkspacePrincipal
impl Unpin for WorkspacePrincipal
impl UnwindSafe for WorkspacePrincipal
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