aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jake Swenson <jake@jakeswenson.com> 2021-08-27 20:30:50 -0700
committerGravatar Jake Swenson <jake@jakeswenson.com> 2021-08-27 20:30:50 -0700
commit9e9297e734973c981d654b3512ce89ed6f34484c (patch)
tree6bb553cfb80e6ccb875cd26eaa7a778ebae0f93f
parent9d5b84b88ddc2b7de1bc0f03d9026eb52e8976ac (diff)
downloadnotion-9e9297e734973c981d654b3512ce89ed6f34484c.tar.gz
notion-9e9297e734973c981d654b3512ce89ed6f34484c.tar.zst
notion-9e9297e734973c981d654b3512ce89ed6f34484c.zip
Make NotionApi Clone-able
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 5605333..28fd426 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -36,6 +36,7 @@ pub trait AsIdentifier<ById> {
/// An API client for Notion.
/// Create a client by using [new(api_token: String)](Self::new()).
+#[derive(Clone)]
pub struct NotionApi {
client: Client,
}