pub struct CreateCredential {
pub user_id: Uuid,
pub kind: CredentialKind,
pub credential_hash: String,
pub metadata: Option<Value>,
}Fields§
§user_id: Uuid§kind: CredentialKind§credential_hash: String§metadata: Option<Value>Trait Implementations§
Source§impl Clone for CreateCredential
impl Clone for CreateCredential
Source§fn clone(&self) -> CreateCredential
fn clone(&self) -> CreateCredential
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 CreateCredential
impl RefUnwindSafe for CreateCredential
impl Send for CreateCredential
impl Sync for CreateCredential
impl Unpin for CreateCredential
impl UnsafeUnpin for CreateCredential
impl UnwindSafe for CreateCredential
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