- let new_person = PersonForm {
- name: "thommy prw".into(),
- public_key: Some("pubkey".to_string()),
- ..PersonForm::default()
- };
+ let inserted_instance = Instance::create(conn, "my_domain.tld").unwrap();
+
+ let new_person = PersonInsertForm::builder()
+ .name("thommy prw".into())
+ .public_key("pubkey".to_string())
+ .instance_id(inserted_instance.id)
+ .build();