Struct akd::proto::specs::types::LookupProof

source ·
pub struct LookupProof {
    pub epoch: Option<u64>,
    pub plaintext_value: Option<Vec<u8, Global>>,
    pub version: Option<u64>,
    pub existence_vrf_proof: Option<Vec<u8, Global>>,
    pub existence_proof: MessageField<MembershipProof>,
    pub marker_vrf_proof: Option<Vec<u8, Global>>,
    pub marker_proof: MessageField<MembershipProof>,
    pub freshness_vrf_proof: Option<Vec<u8, Global>>,
    pub freshness_proof: MessageField<NonMembershipProof>,
    pub commitment_proof: Option<Vec<u8, Global>>,
    pub special_fields: SpecialFields,
}

Fields§

§epoch: Option<u64>§plaintext_value: Option<Vec<u8, Global>>§version: Option<u64>§existence_vrf_proof: Option<Vec<u8, Global>>§existence_proof: MessageField<MembershipProof>§marker_vrf_proof: Option<Vec<u8, Global>>§marker_proof: MessageField<MembershipProof>§freshness_vrf_proof: Option<Vec<u8, Global>>§freshness_proof: MessageField<NonMembershipProof>§commitment_proof: Option<Vec<u8, Global>>§special_fields: SpecialFields

Implementations§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Returns the “default value” for a type. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
Message name as specified in .proto file. Read more
True iff all required fields are initialized. Always returns true for protobuf 3. Read more
Update this message object with fields read from given stream.
Compute and cache size of this message and all nested messages. Read more
Write message to the stream. Read more
Special fields (unknown fields and cached size).
Special fields (unknown fields and cached size).
Create an empty message object. Read more
Reset all fields.
Return a pointer to default immutable message with static lifetime. Read more
Parse message from stream.
Get size previously computed by compute_size. Read more
Write the message to the stream. Read more
Write the message to the stream prepending the message with message length encoded as varint. Read more
Write the message to the vec, prepend the message with message length encoded as varint. Read more
Update this message object with fields read from given stream.
Parse message from reader. Parse stops on EOF or when error encountered. Read more
Parse message from byte array.
Check if all required fields of this object are initialized.
Write the message to the writer.
Write the message to bytes vec.
Write the message to bytes vec. Read more
Write the message to the writer, prepend the message with message length encoded as varint. Read more
Write the message to the bytes vec, prepend the message with message length encoded as varint. Read more
Get a reference to unknown fields.
Get a mutable reference to unknown fields.
Get message descriptor for message type. Read more
Reflective equality. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Actual implementation of type properties.
The type returned in the event of a conversion error.
Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Message descriptor for this message, used for reflection.
Update this message fields with contents of given stream.
Write the message.
Compute (and cache) the message size.
True iff all required fields are initialized. Always returns true for protobuf 3. Read more
Get a reference to special fields.
Get a mutable reference to special fields.
Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.