proto-blue-api 0.2.1

AT Protocol high-level API: agent, rich text, moderation, generated types
Documentation
// Generated by atproto-codegen. Do not edit.
//! Lexicon: app.bsky.bookmark.defs

use serde::{Deserialize, Serialize};

/// Object used to store bookmark data in stash.
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Bookmark {
    pub subject: crate::com::atproto::repo::strongRef::Main,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct BookmarkView {
    #[serde(skip_serializing_if = "Option::is_none")]
    pub created_at: Option<String>,
    pub item: serde_json::Value,
    pub subject: crate::com::atproto::repo::strongRef::Main,
}