Struct warg_protocol::PublishedProtoEnvelope
source · pub struct PublishedProtoEnvelope<Contents> {
pub envelope: ProtoEnvelope<Contents>,
pub registry_index: RegistryIndex,
}
Expand description
The ProtoEnvelope with the published registry log index.
Fields§
§envelope: ProtoEnvelope<Contents>
The wrapped ProtoEnvelope
registry_index: RegistryIndex
The published registry log index for the record
Trait Implementations§
source§impl<Contents: Clone> Clone for PublishedProtoEnvelope<Contents>
impl<Contents: Clone> Clone for PublishedProtoEnvelope<Contents>
source§fn clone(&self) -> PublishedProtoEnvelope<Contents>
fn clone(&self) -> PublishedProtoEnvelope<Contents>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<Contents: Debug> Debug for PublishedProtoEnvelope<Contents>
impl<Contents: Debug> Debug for PublishedProtoEnvelope<Contents>
source§impl<Content> From<PublishedProtoEnvelope<Content>> for PublishedProtoEnvelopeBody
impl<Content> From<PublishedProtoEnvelope<Content>> for PublishedProtoEnvelopeBody
source§fn from(value: PublishedProtoEnvelope<Content>) -> Self
fn from(value: PublishedProtoEnvelope<Content>) -> Self
Converts to this type from the input type.
source§impl<Contents: PartialEq> PartialEq for PublishedProtoEnvelope<Contents>
impl<Contents: PartialEq> PartialEq for PublishedProtoEnvelope<Contents>
source§fn eq(&self, other: &PublishedProtoEnvelope<Contents>) -> bool
fn eq(&self, other: &PublishedProtoEnvelope<Contents>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<Content> TryFrom<PublishedProtoEnvelopeBody> for PublishedProtoEnvelope<Content>where
Content: Decode,
impl<Content> TryFrom<PublishedProtoEnvelopeBody> for PublishedProtoEnvelope<Content>where
Content: Decode,
impl<Contents: Eq> Eq for PublishedProtoEnvelope<Contents>
impl<Contents> StructuralPartialEq for PublishedProtoEnvelope<Contents>
Auto Trait Implementations§
impl<Contents> Freeze for PublishedProtoEnvelope<Contents>where
Contents: Freeze,
impl<Contents> RefUnwindSafe for PublishedProtoEnvelope<Contents>where
Contents: RefUnwindSafe,
impl<Contents> Send for PublishedProtoEnvelope<Contents>where
Contents: Send,
impl<Contents> Sync for PublishedProtoEnvelope<Contents>where
Contents: Sync,
impl<Contents> Unpin for PublishedProtoEnvelope<Contents>where
Contents: Unpin,
impl<Contents> UnwindSafe for PublishedProtoEnvelope<Contents>where
Contents: UnwindSafe,
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.