pub struct CreateIdentityOptions<'a> {
pub id_tag_prefix: &'a str,
pub id_tag_domain: &'a str,
pub email: Option<&'a str>,
pub registrar_id_tag: &'a str,
pub owner_id_tag: Option<&'a str>,
pub status: IdentityStatus,
pub address: Option<&'a str>,
pub address_type: Option<AddressType>,
pub dyndns: bool,
pub lang: Option<&'a str>,
pub expires_at: Option<Timestamp>,
}Expand description
Options for creating a new identity
Fields§
§id_tag_prefix: &'a strThe unique identifier prefix (local part) for this identity
id_tag_domain: &'a strThe domain part of the identity identifier
email: Option<&'a str>Email address to associate with this identity (optional for community-owned identities)
registrar_id_tag: &'a strThe id_tag of the registrar creating this identity
owner_id_tag: Option<&'a str>The id_tag of the owner who will control this identity (optional) When issuer=“owner” in the registration token, this is set from the token issuer
status: IdentityStatusInitial status of the identity (default: Pending)
address: Option<&'a str>Initial address for this identity (optional)
address_type: Option<AddressType>Type of the address being set (if address is provided)
dyndns: boolWhether this identity uses dynamic DNS (60s TTL instead of 3600s)
lang: Option<&'a str>Preferred language for emails and notifications (e.g., “hu”, “de”)
expires_at: Option<Timestamp>When the identity should expire (optional, can have default)
Trait Implementations§
Source§impl<'a> Clone for CreateIdentityOptions<'a>
impl<'a> Clone for CreateIdentityOptions<'a>
Source§fn clone(&self) -> CreateIdentityOptions<'a>
fn clone(&self) -> CreateIdentityOptions<'a>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more