coal_guilds_api/state/
invite.rs

1use steel::*;
2
3use super::GuildsAccount;
4
5/// Boost ...
6#[repr(C)]
7#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
8pub struct Invite {
9    /// The bump used for signing.
10    pub bump: u64,
11
12    /// The guild this invite is for.
13    pub guild: Pubkey,
14
15    /// The member this invite is for.
16    pub member: Pubkey,
17
18    /// The unix timestamp of when this invite was created.
19    pub created_at: i64,
20}
21
22account!(GuildsAccount, Invite);