blokli-client 0.29.0

Client connector to Blokli
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::{accounts::Account, channels::Channel, schema};

#[derive(cynic::QueryFragment, Debug)]
#[cynic(graphql_type = "SubscriptionRoot")]
pub struct SubscribeGraph {
    pub opened_channel_graph_updated: OpenedChannelsGraphEntry,
}

#[derive(cynic::QueryFragment, Debug, Clone)]
#[cfg_attr(feature = "serde", derive(serde::Serialize))]
pub struct OpenedChannelsGraphEntry {
    pub channel: Channel,
    pub destination: Account,
    pub source: Account,
}