pub struct MpcKey {
pub key_id: String,
pub user_id: String,
pub algorithm: f64,
pub players: Vec<Players>,
pub last_preprocessed_index: Option<f64>,
}
Fields§
§key_id: String
§user_id: String
The user id that owns the key
algorithm: f64
The algorithm of the key
players: Vec<Players>
The players that are associated with the key
last_preprocessed_index: Option<f64>
The last index used on this key
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MpcKey
impl<'de> Deserialize<'de> for MpcKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for MpcKey
Auto Trait Implementations§
impl Freeze for MpcKey
impl RefUnwindSafe for MpcKey
impl Send for MpcKey
impl Sync for MpcKey
impl Unpin for MpcKey
impl UnwindSafe for MpcKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more