Skip to main content

Crate guacamole_client

Crate guacamole_client 

Source
Expand description

Rust client for the Apache Guacamole REST API.

§Quick start

let mut client = guacamole_client::GuacamoleClient::new("http://localhost:8080/guacamole")?;
client.login("guacadmin", "guacadmin").await?;

let users = client.list_users(None).await?;
for (username, user) in &users {
    println!("{username}: {user:?}");
}

client.logout().await?;

Re-exports§

pub use error::Error;
pub use error::Result;

Modules§

error
Error types for the Guacamole client.

Structs§

ActiveConnection
An active Guacamole connection (a session currently in use).
AuthResponse
Response from the Guacamole authentication endpoint.
Connection
A Guacamole connection.
ConnectionGroup
A Guacamole connection group.
GuacamoleClient
Client for the Apache Guacamole REST API.
HistoryEntry
A single history entry for a connection or user event.
PasswordChange
Payload for changing a user’s password.
PatchOperation
A single JSON Patch operation for Guacamole PATCH endpoints.
SharingProfile
A Guacamole sharing profile.
SharingProfileSummary
A summary of a sharing profile as returned when listing profiles for a connection.
User
A Guacamole user account.
UserGroup
A Guacamole user group.
UserPermissions
Permissions assigned to a user.