pub struct UserAccount {Show 34 fields
pub id: String,
pub schema: String,
pub address: Option<Vec<String>>,
pub address_entity: Option<Vec<String>>,
pub aleph_url: Option<Vec<String>>,
pub alias: Option<Vec<String>>,
pub country: Option<Vec<String>>,
pub created_at: Option<Vec<String>>,
pub description: Option<Vec<String>>,
pub email: Option<Vec<String>>,
pub index_text: Option<Vec<String>>,
pub ip_address: Option<Vec<String>>,
pub keywords: Option<Vec<String>>,
pub modified_at: Option<Vec<String>>,
pub name: Vec<String>,
pub notes: Option<Vec<String>>,
pub owner: Option<Vec<String>>,
pub password: Option<Vec<String>>,
pub phone: Option<Vec<String>>,
pub previous_name: Option<Vec<String>>,
pub program: Option<Vec<String>>,
pub program_id: Option<Vec<String>>,
pub proof: Option<Vec<String>>,
pub publisher: Option<Vec<String>>,
pub publisher_url: Option<Vec<String>>,
pub retrieved_at: Option<Vec<String>>,
pub service: Option<Vec<String>>,
pub source_url: Option<Vec<String>>,
pub summary: Option<Vec<String>>,
pub topics: Option<Vec<String>>,
pub username: Vec<String>,
pub weak_alias: Option<Vec<String>>,
pub wikidata_id: Option<Vec<String>>,
pub wikipedia_url: Option<Vec<String>>,
}Expand description
FTM Schema: User account
Fields§
§id: String§schema: String§address: Option<Vec<String>>Property: Address
address_entity: Option<Vec<String>>Property: Address
aleph_url: Option<Vec<String>>Property: Aleph URL
alias: Option<Vec<String>>Property: Alias
country: Option<Vec<String>>Property: Country
created_at: Option<Vec<String>>Property: Created at
description: Option<Vec<String>>Property: Description
email: Option<Vec<String>>Property: Email
index_text: Option<Vec<String>>Property: Index text
ip_address: Option<Vec<String>>Property: IP address
keywords: Option<Vec<String>>Property: Keywords
modified_at: Option<Vec<String>>Property: Modified on
name: Vec<String>Property: Name
notes: Option<Vec<String>>Property: Notes
owner: Option<Vec<String>>Property: Owner
password: Option<Vec<String>>Property: Password
phone: Option<Vec<String>>Property: Phone
previous_name: Option<Vec<String>>Property: Previous name
program: Option<Vec<String>>Property: Program
program_id: Option<Vec<String>>Property: Program ID
proof: Option<Vec<String>>Property: Source document
publisher: Option<Vec<String>>Property: Publishing source
publisher_url: Option<Vec<String>>Property: Publishing source URL
retrieved_at: Option<Vec<String>>Property: Retrieved on
service: Option<Vec<String>>Property: Service
source_url: Option<Vec<String>>Property: Source link
summary: Option<Vec<String>>Property: Summary
topics: Option<Vec<String>>Property: Topics
username: Vec<String>Property: Username
weak_alias: Option<Vec<String>>Property: Weak alias
wikidata_id: Option<Vec<String>>Property: Wikidata ID
wikipedia_url: Option<Vec<String>>Property: Wikipedia Article
Implementations§
Source§impl UserAccount
impl UserAccount
Sourcepub fn builder() -> UserAccountBuilder
pub fn builder() -> UserAccountBuilder
Create an instance of UserAccount using the builder syntax
Source§impl UserAccount
impl UserAccount
Sourcepub fn new(id: impl Into<String>) -> Self
👎Deprecated: Use the builder() method instead to ensure required fields are set
pub fn new(id: impl Into<String>) -> Self
Create a new entity with the given ID
Sourcepub fn schema_name() -> &'static str
pub fn schema_name() -> &'static str
Get the schema name
Sourcepub fn to_ftm_json(&self) -> Result<String, Error>
pub fn to_ftm_json(&self) -> Result<String, Error>
Serialize to standard FTM nested JSON format
Produces {"id": "...", "schema": "...", "properties": {...}}
Trait Implementations§
Source§impl Clone for UserAccount
impl Clone for UserAccount
Source§fn clone(&self) -> UserAccount
fn clone(&self) -> UserAccount
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more