squarecloud 0.1.1

Async Rust client for the SquareCloud API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// An event received from the application's realtime log stream.
///
/// Returned by
/// [`AppResource::realtime`](crate::resources::AppResource::realtime).
#[derive(Debug, Clone)]
pub enum RealtimeEvent {
    /// A log line emitted by the application.
    Log(String),
    /// A lifecycle or keepalive message from the SSE server
    /// (e.g. `REALTIME_CONNECTED`, `PING`).
    System(String),
}