pub struct PolicyUser(/* private fields */);Expand description
A uuid backed user identifier.
This crates requires your users to be identifiable by a uuid.
Implementations§
Trait Implementations§
Source§impl AsRef<Uuid> for PolicyUser
impl AsRef<Uuid> for PolicyUser
Source§impl Clone for PolicyUser
impl Clone for PolicyUser
Source§fn clone(&self) -> PolicyUser
fn clone(&self) -> PolicyUser
Returns a copy 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 moreSource§impl Debug for PolicyUser
impl Debug for PolicyUser
Source§impl Display for PolicyUser
impl Display for PolicyUser
Source§impl From<Uuid> for PolicyUser
impl From<Uuid> for PolicyUser
Source§impl FromStr for PolicyUser
impl FromStr for PolicyUser
Source§impl Hash for PolicyUser
impl Hash for PolicyUser
Source§impl PartialEq for PolicyUser
impl PartialEq for PolicyUser
impl Eq for PolicyUser
impl IsSubject for PolicyUser
impl StructuralPartialEq for PolicyUser
Auto Trait Implementations§
impl Freeze for PolicyUser
impl RefUnwindSafe for PolicyUser
impl Send for PolicyUser
impl Sync for PolicyUser
impl Unpin for PolicyUser
impl UnwindSafe for PolicyUser
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