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

/// BookmarkDeleteBookmark — Deletes a private bookmark for the specified record. Currently, only `app.bsky.feed.post` records are supported. Requires authentication.
pub async fn bookmark_delete_bookmark(
    client: &crate::xrpc::Client,
    input: &BookmarkDeleteBookmarkInput,
) -> Result<(), crate::xrpc::Error> {
    let _: serde_json::Value = client
        .procedure("app.bsky.bookmark.deleteBookmark", input)
        .await?;
    Ok(())
}