pub struct ProfileKeyVersion { /* private fields */ }
Expand description
An identifier for a particular (profile key, ACI) combination.
A profile key version, properly encoded, is a hexadecimal ASCII string, meant to be put directly into, e.g. HTTP requests.
Note that it is not a “profile version”; a Signal user can change their profile without rotating their profile key, and the profile key version will not change either.
Trait Implementations§
Source§impl AsRef<str> for ProfileKeyVersion
impl AsRef<str> for ProfileKeyVersion
Source§impl Clone for ProfileKeyVersion
impl Clone for ProfileKeyVersion
Source§fn clone(&self) -> ProfileKeyVersion
fn clone(&self) -> ProfileKeyVersion
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 Serialize for ProfileKeyVersion
impl Serialize for ProfileKeyVersion
impl Copy for ProfileKeyVersion
Auto Trait Implementations§
impl Freeze for ProfileKeyVersion
impl RefUnwindSafe for ProfileKeyVersion
impl Send for ProfileKeyVersion
impl Sync for ProfileKeyVersion
impl Unpin for ProfileKeyVersion
impl UnwindSafe for ProfileKeyVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more