pub struct RawAttestation<A: Allocator = Global> {
pub tag: AttestationTag,
pub data: Vec<u8, A>,
/* private fields */
}Expand description
Raw Proof that some data existed at a given time.
Fields§
§tag: AttestationTag§data: Vec<u8, A>Implementations§
Trait Implementations§
Source§impl<A: Clone + Allocator> Clone for RawAttestation<A>
impl<A: Clone + Allocator> Clone for RawAttestation<A>
Source§fn clone(&self) -> RawAttestation<A>
fn clone(&self) -> RawAttestation<A>
Returns a duplicate 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<A: Allocator> Debug for RawAttestation<A>
impl<A: Allocator> Debug for RawAttestation<A>
Source§impl<A: Allocator> DecodeIn<A> for RawAttestation<A>
impl<A: Allocator> DecodeIn<A> for RawAttestation<A>
Source§fn decode_in(decoder: &mut impl Decoder, alloc: A) -> Result<Self, DecodeError>
fn decode_in(decoder: &mut impl Decoder, alloc: A) -> Result<Self, DecodeError>
See
Decode::decode for details.Source§fn decode_trailing(
decoder: &mut impl Decoder,
alloc: A,
) -> Result<Option<Self>, DecodeError>
fn decode_trailing( decoder: &mut impl Decoder, alloc: A, ) -> Result<Option<Self>, DecodeError>
See
Decode::decode_trailing for details and caveats.Source§impl<A: Allocator> Display for RawAttestation<A>
impl<A: Allocator> Display for RawAttestation<A>
Source§impl<A: Allocator> Encode for RawAttestation<A>
impl<A: Allocator> Encode for RawAttestation<A>
Source§impl<A: Allocator> MayHaveInput for RawAttestation<A>
impl<A: Allocator> MayHaveInput for RawAttestation<A>
Source§impl<A: Allocator> PartialEq for RawAttestation<A>
impl<A: Allocator> PartialEq for RawAttestation<A>
impl<A: Allocator> Eq for RawAttestation<A>
Auto Trait Implementations§
impl<A = Global> !Freeze for RawAttestation<A>
impl<A> RefUnwindSafe for RawAttestation<A>where
A: RefUnwindSafe + UnwindSafe,
impl<A> Send for RawAttestation<A>where
A: Send,
impl<A> Sync for RawAttestation<A>
impl<A> Unpin for RawAttestation<A>where
A: Unpin,
impl<A> UnsafeUnpin for RawAttestation<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for RawAttestation<A>where
A: 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