shrike 0.1.1

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 TempAddReservedHandleInput {
    pub handle: String,
    /// Extra fields not defined in the schema.
    #[serde(flatten)]
    pub extra: std::collections::HashMap<String, serde_json::Value>,
}

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

/// TempAddReservedHandle — Add a handle to the set of reserved handles.
pub async fn temp_add_reserved_handle(
    client: &crate::xrpc::Client,
    input: &TempAddReservedHandleInput,
) -> Result<TempAddReservedHandleOutput, crate::xrpc::Error> {
    client
        .procedure("com.atproto.temp.addReservedHandle", input)
        .await
}