AccountId
NEAR Account Identifier.
This is a unique, syntactically valid, human-readable account identifier on the NEAR network.
See the Rust crate documentation for information about validation.
Also see the error kind documentation.
use near_account_id::AccountId;let alice: AccountId = "alice.near".parse().unwrap();assert!("ƒelicia.near".parse::<AccountId>().is_err()); // (ƒ is not f) Copy
use near_account_id::AccountId;let alice: AccountId = "alice.near".parse().unwrap();assert!("ƒelicia.near".parse::<AccountId>().is_err()); // (ƒ is not f)
AccountId
NEAR Account Identifier.
This is a unique, syntactically valid, human-readable account identifier on the NEAR network.
See the Rust crate documentation for information about validation.
Also see the error kind documentation.
Examples