[][src]Struct xaynet_core::message::Update

pub struct Update {
    pub sum_signature: ParticipantTaskSignature,
    pub update_signature: ParticipantTaskSignature,
    pub masked_model: MaskObject,
    pub masked_scalar: MaskObject,
    pub local_seed_dict: LocalSeedDict,
}

A high level representation of an update message.

These messages are sent by update participants during the update phase.

Fields

sum_signature: ParticipantTaskSignature

The signature of the round seed and the word "sum".

This is used to determine whether a participant is selected for the sum task.

update_signature: ParticipantTaskSignature

Signature of the round seed and the word "update".

This is used to determine whether a participant is selected for the update task.

masked_model: MaskObject

A model trained by an update participant.

The model is masked with randomness derived from the participant seed.

masked_scalar: MaskObject

The scalar used to scale model weights.

The scalar is masked with randomness derived from the participant seed.

local_seed_dict: LocalSeedDict

A dictionary that contains the seed used to mask masked_model.

The seed is encrypted with the ephemeral public key of each sum participant.

Trait Implementations

impl Clone for Update[src]

impl Debug for Update[src]

impl Eq for Update[src]

impl From<Update> for Payload[src]

impl FromBytes for Update[src]

impl PartialEq<Update> for Update[src]

impl StructuralEq for Update[src]

impl StructuralPartialEq for Update[src]

impl ToBytes for Update[src]

Auto Trait Implementations

impl RefUnwindSafe for Update

impl Send for Update

impl Sync for Update

impl Unpin for Update

impl UnwindSafe for Update

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,