diff --git a/lib/src/fnc/script/classes/duration.rs b/lib/src/fnc/script/classes/duration.rs index 4a96b849..9426c560 100644 --- a/lib/src/fnc/script/classes/duration.rs +++ b/lib/src/fnc/script/classes/duration.rs @@ -10,6 +10,7 @@ pub mod duration { #[derive(Clone)] #[quickjs(class)] + #[quickjs(cloneable)] pub struct Duration { #[quickjs(hide)] pub(crate) value: String, diff --git a/lib/src/fnc/script/classes/record.rs b/lib/src/fnc/script/classes/record.rs index b0a16f40..f9cfdd26 100644 --- a/lib/src/fnc/script/classes/record.rs +++ b/lib/src/fnc/script/classes/record.rs @@ -10,6 +10,7 @@ pub mod record { #[derive(Clone)] #[quickjs(class)] + #[quickjs(cloneable)] pub struct Record { #[quickjs(hide)] pub(crate) tb: String, diff --git a/lib/src/fnc/script/classes/uuid.rs b/lib/src/fnc/script/classes/uuid.rs index 849b9c60..f9d6555c 100644 --- a/lib/src/fnc/script/classes/uuid.rs +++ b/lib/src/fnc/script/classes/uuid.rs @@ -10,6 +10,7 @@ pub mod uuid { #[derive(Clone)] #[quickjs(class)] + #[quickjs(cloneable)] pub struct Uuid { #[quickjs(hide)] pub(crate) value: String,