[][src]Struct xaynet::message::Update

pub struct Update<D, M> {
    pub sum_signature: ParticipantTaskSignature,
    pub update_signature: ParticipantTaskSignature,
    pub masked_model: M,
    pub local_seed_dict: D,
}

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: M

A model trained by an update participant.

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

local_seed_dict: D

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<D: Clone, M: Clone> Clone for Update<D, M>[src]

impl<D: Debug, M: Debug> Debug for Update<D, M>[src]

impl<D: Eq, M: Eq> Eq for Update<D, M>[src]

impl<D, M, N> From<Update<D, M>> for Payload<D, M, N>[src]

impl<D: PartialEq, M: PartialEq> PartialEq<Update<D, M>> for Update<D, M>[src]

impl<D, M> StructuralEq for Update<D, M>[src]

impl<D, M> StructuralPartialEq for Update<D, M>[src]

impl<D, M> ToBytes for Update<D, M> where
    D: Borrow<LocalSeedDict>,
    M: Borrow<MaskObject>, 
[src]

Auto Trait Implementations

impl<D, M> RefUnwindSafe for Update<D, M> where
    D: RefUnwindSafe,
    M: RefUnwindSafe

impl<D, M> Send for Update<D, M> where
    D: Send,
    M: Send

impl<D, M> Sync for Update<D, M> where
    D: Sync,
    M: Sync

impl<D, M> Unpin for Update<D, M> where
    D: Unpin,
    M: Unpin

impl<D, M> UnwindSafe for Update<D, M> where
    D: UnwindSafe,
    M: UnwindSafe

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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>, 

impl<T> WithSubscriber for T[src]