We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Debug
RemoteFolder
1 parent 80b5b13 commit 25d78c1Copy full SHA for 25d78c1
rust/src/collaboration/folder.rs
@@ -1,3 +1,4 @@
1
+use std::fmt::Debug;
2
use super::{Remote, RemoteProject};
3
use binaryninjacore_sys::*;
4
use std::ptr::NonNull;
@@ -125,11 +126,22 @@ impl RemoteFolder {
125
126
}
127
128
129
+impl Debug for RemoteFolder {
130
+ fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
131
+ f.debug_struct("RemoteFolder")
132
+ .field("id", &self.id())
133
+ .field("name", &self.name())
134
+ .field("description", &self.description())
135
+ .finish()
136
+ }
137
+}
138
+
139
impl PartialEq for RemoteFolder {
140
fn eq(&self, other: &Self) -> bool {
141
self.id() == other.id()
142
143
144
145
impl Eq for RemoteFolder {}
146
147
impl ToOwned for RemoteFolder {
0 commit comments