Scaffold Rust client workspace

This commit is contained in:
Joseph Doherty
2026-04-26 19:47:26 -04:00
parent 9dcd4baff2
commit ee88f9d647
17 changed files with 1886 additions and 4 deletions
+15
View File
@@ -0,0 +1,15 @@
/// Session identifier returned by the gateway.
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct Session {
id: String,
}
impl Session {
pub fn new(id: impl Into<String>) -> Self {
Self { id: id.into() }
}
pub fn id(&self) -> &str {
&self.id
}
}