summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2026-02-09 17:01:38 -0800
committerMason Reed <35282038+emesare@users.noreply.github.com>2026-02-23 00:09:44 -0800
commit0f919f8fa8043892e4f723d0aa382fa7fc044374 (patch)
treeebe8d558598d21d273a90a8adb5fae697612e25a /rust/src
parenta45f864ef31e27a5173d5c46ebb62f1c4d60eedd (diff)
[Rust] Impl `Debug` for `RemoteProject`
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/collaboration/project.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/rust/src/collaboration/project.rs b/rust/src/collaboration/project.rs
index fa46e477..5eff24b0 100644
--- a/rust/src/collaboration/project.rs
+++ b/rust/src/collaboration/project.rs
@@ -1,4 +1,5 @@
use std::ffi::c_void;
+use std::fmt::Debug;
use std::path::PathBuf;
use std::ptr::NonNull;
use std::time::SystemTime;
@@ -870,11 +871,22 @@ impl RemoteProject {
//}
}
+impl Debug for RemoteProject {
+ fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
+ f.debug_struct("RemoteProject")
+ .field("id", &self.id())
+ .field("name", &self.name())
+ .field("description", &self.description())
+ .finish()
+ }
+}
+
impl PartialEq for RemoteProject {
fn eq(&self, other: &Self) -> bool {
self.id() == other.id()
}
}
+
impl Eq for RemoteProject {}
impl ToOwned for RemoteProject {