pub struct Identity {Show 18 fields
pub locale_code: &'static str,
pub name_order: NameOrder,
pub first_name: String,
pub last_name: String,
pub last_name2: String,
pub first_ascii: String,
pub last_ascii: String,
pub archetype: HandleArchetype,
pub birth_year: i64,
pub birth_month: u8,
pub birth_day: u8,
pub nickname: Option<Nickname>,
pub city: String,
pub region: String,
pub postal: String,
pub lat: f64,
pub lon: f64,
pub tz: &'static str,
}Expand description
Shared identity for context-aware generation (–ctx strict/loose).
Fields§
§locale_code: &'static str§name_order: NameOrder§first_name: String§last_name: String§last_name2: String§first_ascii: String§last_ascii: String§archetype: HandleArchetype§birth_year: i64Birth year for tag correlation (nicknames, birthdate field).
birth_month: u8Birth month (1-12) — used for realistic numeric suffixes (DDMM/MMDD).
birth_day: u8Birth day (1-28) — used for realistic numeric suffixes (DDMM/MMDD).
nickname: Option<Nickname>Pre-computed nickname. None for NameOnly archetype.
city: String§region: String§postal: String§lat: f64§lon: f64§tz: &'static strImplementations§
Auto Trait Implementations§
impl Freeze for Identity
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnsafeUnpin for Identity
impl UnwindSafe for Identity
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