pub struct ResetToken(/* private fields */);Implementations§
Source§impl ResetToken
impl ResetToken
pub fn new(bytes: &[u8]) -> Self
pub fn random_gen() -> Self
pub fn encoding_size(&self) -> usize
Trait Implementations§
Source§impl Clone for ResetToken
impl Clone for ResetToken
Source§fn clone(&self) -> ResetToken
fn clone(&self) -> ResetToken
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 moreimpl Copy for ResetToken
Source§impl Debug for ResetToken
impl Debug for ResetToken
Source§impl Default for ResetToken
impl Default for ResetToken
Source§fn default() -> ResetToken
fn default() -> ResetToken
Returns the “default value” for a type. Read more
Source§impl Deref for ResetToken
impl Deref for ResetToken
impl Eq for ResetToken
Source§impl From<ResetToken> for ParameterValue
impl From<ResetToken> for ParameterValue
Source§fn from(value: ResetToken) -> Self
fn from(value: ResetToken) -> Self
Converts to this type from the input type.
Source§impl Hash for ResetToken
impl Hash for ResetToken
Source§impl PartialEq for ResetToken
impl PartialEq for ResetToken
impl StructuralPartialEq for ResetToken
Source§impl TryFrom<ParameterValue> for ResetToken
impl TryFrom<ParameterValue> for ResetToken
Source§type Error = TryIntoError<ParameterValue>
type Error = TryIntoError<ParameterValue>
The type returned in the event of a conversion error.
Source§fn try_from(value: ParameterValue) -> Result<Self, TryIntoError<ParameterValue>>
fn try_from(value: ParameterValue) -> Result<Self, TryIntoError<ParameterValue>>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ResetToken
impl RefUnwindSafe for ResetToken
impl Send for ResetToken
impl Sync for ResetToken
impl Unpin for ResetToken
impl UnsafeUnpin for ResetToken
impl UnwindSafe for ResetToken
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