[−][src]Struct rust_ipv8::payloads::binmemberauthenticationpayload::BinMemberAuthenticationPayload
This struct represents the public key in a message. This is important because with this key the signature (at the end of a packet) can be verified.
Fields
public_key_bin: Ed25519PublicKey
TODO: has to change to a PublicKey binary representation object. The serializer should convert this to a varlen16 while serializing like in IntroductionRequestPayload.
encryption_key_bin: [u8; 32]
The 32 Bytes representing the public Curve25519 encryption key
Trait Implementations
impl Ipv8Payload for BinMemberAuthenticationPayload
[src]
impl PartialEq<BinMemberAuthenticationPayload> for BinMemberAuthenticationPayload
[src]
fn eq(&self, other: &BinMemberAuthenticationPayload) -> bool
[src]
fn ne(&self, other: &BinMemberAuthenticationPayload) -> bool
[src]
impl Debug for BinMemberAuthenticationPayload
[src]
impl Serialize for BinMemberAuthenticationPayload
[src]
makes the BinMemberAuthenticationPayload serializable. This is less than trivial as there is no 1:1 mapping between the serialized data and the payload struct. Some struct fields are combined into one byte to form the serialized data.
impl<'de> Deserialize<'de> for BinMemberAuthenticationPayload
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
deserializes an IntroductionRequestPayload
Auto Trait Implementations
impl Unpin for BinMemberAuthenticationPayload
impl Sync for BinMemberAuthenticationPayload
impl Send for BinMemberAuthenticationPayload
impl RefUnwindSafe for BinMemberAuthenticationPayload
impl UnwindSafe for BinMemberAuthenticationPayload
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,