Skip to main content

PhoneSignupIdentity

Trait PhoneSignupIdentity 

Source
pub trait PhoneSignupIdentity: Send + Sync {
    // Required method
    fn temporary_email(&self, phone_number: &str) -> String;

    // Provided method
    fn temporary_name(&self, _phone_number: &str) -> Option<String> { ... }
}

Required Methods§

Source

fn temporary_email(&self, phone_number: &str) -> String

Provided Methods§

Source

fn temporary_name(&self, _phone_number: &str) -> Option<String>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§