From 8b5a71dd3a490718540a7e9d48da2a220256a628 Mon Sep 17 00:00:00 2001 From: Naz Date: Mon, 15 Sep 2025 14:50:08 +0100 Subject: =?UTF-8?q?=E2=9C=A8feat:=20dirty=20commit=20bringing=20basic=20fu?= =?UTF-8?q?nctionality?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/models.rs | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/models.rs (limited to 'src/models.rs') diff --git a/src/models.rs b/src/models.rs new file mode 100644 index 0000000..7b99ba5 --- /dev/null +++ b/src/models.rs @@ -0,0 +1,24 @@ +use serde::Deserialize; + +#[derive(Deserialize)] +pub struct Bookmarks { + pub sections: Vec
, +} + +#[derive(Deserialize)] +pub struct Section { + pub title: String, + pub cards: Vec, +} + +#[derive(Deserialize)] +pub struct Card { + pub title: String, + pub links: Vec, +} + +#[derive(Deserialize)] +pub struct Link { + pub title: String, + pub url: String, +} -- cgit v1.2.3