pub async fn find_client_identity(
client: &Client,
reference: &str,
) -> Result<ClientIdentity>Expand description
A client identity by uuid, identify value or name, among the caller’s own (see
match_client_identity). A reference that matches none of them is read directly,
so an Admin reaches other users’ identities by uuid or identify.
§Errors
Error::NotFoundif nothing matches.Error::InvalidInputif the name is ambiguous.- Any error of
ClientIdentities::listorClientIdentities::get.
§Examples
let phone = dinio_sdk::ops::find_client_identity(client, "phone").await?;
println!("DoH path part: {}", phone.identify);