pub struct NewKey {
pub id: KeyId,
pub token: String,
}Expand description
A key just made. Its token is shown this once and never stored.
Fields§
§id: KeyId§token: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for NewKey
impl RefUnwindSafe for NewKey
impl Send for NewKey
impl Sync for NewKey
impl Unpin for NewKey
impl UnsafeUnpin for NewKey
impl UnwindSafe for NewKey
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