pub struct ValidationReq { /* private fields */ }Implementations§
Source§impl ValidationReq
impl ValidationReq
pub fn new<T>(
device_token: &str,
transaction_id: &str,
duration_since_epoch: T,
) -> Selfwhere
T: DurationSinceEpoch,
Trait Implementations§
Source§impl Clone for ValidationReq
impl Clone for ValidationReq
Source§fn clone(&self) -> ValidationReq
fn clone(&self) -> ValidationReq
Returns a duplicate 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 ValidationReq
impl Debug for ValidationReq
Source§impl<'de> Deserialize<'de> for ValidationReq
impl<'de> Deserialize<'de> for ValidationReq
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ValidationReq
impl Hash for ValidationReq
Source§impl PartialEq for ValidationReq
impl PartialEq for ValidationReq
Source§impl Serialize for ValidationReq
impl Serialize for ValidationReq
impl Eq for ValidationReq
impl StructuralPartialEq for ValidationReq
Auto Trait Implementations§
impl Freeze for ValidationReq
impl RefUnwindSafe for ValidationReq
impl Send for ValidationReq
impl Sync for ValidationReq
impl Unpin for ValidationReq
impl UnsafeUnpin for ValidationReq
impl UnwindSafe for ValidationReq
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