atrium_api/app/bsky/bookmark/
delete_bookmark.rs1pub const NSID: &str = "app.bsky.bookmark.deleteBookmark";
4#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
5#[serde(rename_all = "camelCase")]
6pub struct InputData {
7 pub uri: String,
8}
9pub type Input = crate::types::Object<InputData>;
10#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
11#[serde(tag = "error", content = "message")]
12pub enum Error {
13 UnsupportedCollection(Option<String>),
15}
16impl std::fmt::Display for Error {
17 fn fmt(&self, _f: &mut std::fmt::Formatter) -> std::fmt::Result {
18 match self {
19 Error::UnsupportedCollection(msg) => {
20 write!(_f, "UnsupportedCollection")?;
21 if let Some(msg) = msg {
22 write!(_f, ": {msg}")?;
23 }
24 }
25 }
26 Ok(())
27 }
28}