From 9e9297e734973c981d654b3512ce89ed6f34484c Mon Sep 17 00:00:00 2001 From: Jake Swenson Date: Fri, 27 Aug 2021 20:30:50 -0700 Subject: Make NotionApi Clone-able --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 { /// An API client for Notion. /// Create a client by using [new(api_token: String)](Self::new()). +#[derive(Clone)] pub struct NotionApi { client: Client, } -- cgit v1.2.3