zkgroup/api/profiles/
profile_key_commitment.rs

1//
2// Copyright 2020 Signal Messenger, LLC.
3// SPDX-License-Identifier: AGPL-3.0-only
4//
5
6use partial_default::PartialDefault;
7use serde::{Deserialize, Serialize};
8
9use crate::common::serialization::ReservedByte;
10use crate::crypto;
11
12#[derive(Copy, Clone, Serialize, Deserialize, PartialDefault)]
13pub struct ProfileKeyCommitment {
14    pub(crate) reserved: ReservedByte,
15    pub(crate) commitment: crypto::profile_key_commitment::Commitment,
16}