shrike 0.1.0

AT Protocol library for Rust
Documentation
// Code generated by lexgen. DO NOT EDIT.

#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct IdentityRefreshIdentityInput {
    pub identifier: crate::syntax::AtIdentifier,
    /// Extra fields not defined in the schema.
    #[serde(flatten)]
    pub extra: std::collections::HashMap<String, serde_json::Value>,
}

/// IdentityRefreshIdentityOutput is an alias.
pub type IdentityRefreshIdentityOutput = crate::api::com::atproto::IdentityDefsIdentityInfo;

/// IdentityRefreshIdentity — Request that the server re-resolve an identity (DID and handle). The server may ignore this reque...
pub async fn identity_refresh_identity(
    client: &crate::xrpc::Client,
    input: &IdentityRefreshIdentityInput,
) -> Result<IdentityRefreshIdentityOutput, crate::xrpc::Error> {
    client
        .procedure("com.atproto.identity.refreshIdentity", input)
        .await
}