pub struct ValidateOtpRequest {
pub phone_number: String,
pub otp: String,
pub tracking_id: String,
}Expand description
Step 2 (BVN & NIN) — request body for OTP validation.
Server type: PatnershipRequestV2. Shared verbatim by both flows.
Fields§
§phone_number: StringCustomer’s phone number (the one the OTP was sent to).
otp: StringThe one-time password the customer received.
tracking_id: StringThe tracking id correlating this validation with the step-1 request.
Trait Implementations§
Source§impl Clone for ValidateOtpRequest
impl Clone for ValidateOtpRequest
Source§fn clone(&self) -> ValidateOtpRequest
fn clone(&self) -> ValidateOtpRequest
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 moreSource§impl Debug for ValidateOtpRequest
impl Debug for ValidateOtpRequest
Source§impl<'de> Deserialize<'de> for ValidateOtpRequest
impl<'de> Deserialize<'de> for ValidateOtpRequest
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
Auto Trait Implementations§
impl Freeze for ValidateOtpRequest
impl RefUnwindSafe for ValidateOtpRequest
impl Send for ValidateOtpRequest
impl Sync for ValidateOtpRequest
impl Unpin for ValidateOtpRequest
impl UnsafeUnpin for ValidateOtpRequest
impl UnwindSafe for ValidateOtpRequest
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