Struct ProfessionKey
pub struct ProfessionKey(pub Identifier);Expand description
A profession’s persistent resource identity.
Tuple Fields§
§0: IdentifierTrait Implementations§
§impl Clone for ProfessionKey
impl Clone for ProfessionKey
§fn clone(&self) -> ProfessionKey
fn clone(&self) -> ProfessionKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ProfessionKey
impl Debug for ProfessionKey
impl Eq for ProfessionKey
§impl PartialEq for ProfessionKey
impl PartialEq for ProfessionKey
impl StructuralPartialEq for ProfessionKey
Auto Trait Implementations§
impl Freeze for ProfessionKey
impl RefUnwindSafe for ProfessionKey
impl Send for ProfessionKey
impl Sync for ProfessionKey
impl Unpin for ProfessionKey
impl UnsafeUnpin for ProfessionKey
impl UnwindSafe for ProfessionKey
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