1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
use crate::types::entity_wrapper::EntityWrapper;
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct ReleaseChannelPerCommitmentSecretOutput {
    /// The channel object after the per-commitment secret release operation.
    #[serde(rename = "release_channel_per_commitment_secret_output_channel")]
    pub channel: EntityWrapper,
}

pub const FRAGMENT: &str = "
fragment ReleaseChannelPerCommitmentSecretOutputFragment on ReleaseChannelPerCommitmentSecretOutput {
    __typename
    release_channel_per_commitment_secret_output_channel: channel {
        id
    }
}
";