clerk_rs/models/
create_blocklist_identifier_request.rs

1/*
2 * Clerk Backend API
3 *
4 * The Clerk REST Backend API, meant to be accessed by backend servers. Please see https://clerk.com/docs for more information.
5 *
6 * The version of the OpenAPI document: v1
7 * Contact: support@clerk.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
12pub struct CreateBlocklistIdentifierRequest {
13	/// The identifier to be added in the block-list. This can be an email address, a phone number or a web3 wallet.
14	#[serde(rename = "identifier")]
15	pub identifier: String,
16}
17
18impl CreateBlocklistIdentifierRequest {
19	pub fn new(identifier: String) -> CreateBlocklistIdentifierRequest {
20		CreateBlocklistIdentifierRequest { identifier }
21	}
22}