pub struct CreateAllowlistIdentifierRequest {
pub identifier: String,
pub notify: Option<bool>,
}Fields§
§identifier: StringThe identifier to be added in the allow-list. This can be an email address, a phone number or a web3 wallet.
notify: Option<bool>This flag denotes whether the given identifier will receive an invitation to join the application. Note that this only works for email address and phone number identifiers.
Implementations§
Source§impl CreateAllowlistIdentifierRequest
impl CreateAllowlistIdentifierRequest
pub fn new(identifier: String) -> CreateAllowlistIdentifierRequest
Trait Implementations§
Source§impl Clone for CreateAllowlistIdentifierRequest
impl Clone for CreateAllowlistIdentifierRequest
Source§fn clone(&self) -> CreateAllowlistIdentifierRequest
fn clone(&self) -> CreateAllowlistIdentifierRequest
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<'de> Deserialize<'de> for CreateAllowlistIdentifierRequest
impl<'de> Deserialize<'de> for CreateAllowlistIdentifierRequest
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 PartialEq for CreateAllowlistIdentifierRequest
impl PartialEq for CreateAllowlistIdentifierRequest
Source§fn eq(&self, other: &CreateAllowlistIdentifierRequest) -> bool
fn eq(&self, other: &CreateAllowlistIdentifierRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateAllowlistIdentifierRequest
Auto Trait Implementations§
impl Freeze for CreateAllowlistIdentifierRequest
impl RefUnwindSafe for CreateAllowlistIdentifierRequest
impl Send for CreateAllowlistIdentifierRequest
impl Sync for CreateAllowlistIdentifierRequest
impl Unpin for CreateAllowlistIdentifierRequest
impl UnwindSafe for CreateAllowlistIdentifierRequest
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