Enum everscale_network::proto::overlay::Certificate
source · [−]pub enum Certificate<'tl> {
Certificate {
issued_by: PublicKey<'tl>,
expire_at: u32,
max_size: u32,
signature: &'tl [u8],
},
EmptyCertificate,
}Variants
Certificate
EmptyCertificate
Trait Implementations
sourceimpl<'tl> Clone for Certificate<'tl>
impl<'tl> Clone for Certificate<'tl>
sourcefn clone(&self) -> Certificate<'tl>
fn clone(&self) -> Certificate<'tl>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<'tl> Debug for Certificate<'tl>
impl<'tl> Debug for Certificate<'tl>
sourceimpl<'tl> TlRead<'tl> for Certificate<'tl>
impl<'tl> TlRead<'tl> for Certificate<'tl>
sourceimpl<'tl> TlWrite for Certificate<'tl>
impl<'tl> TlWrite for Certificate<'tl>
impl<'tl> Copy for Certificate<'tl>
Auto Trait Implementations
impl<'tl> RefUnwindSafe for Certificate<'tl>
impl<'tl> Send for Certificate<'tl>
impl<'tl> Sync for Certificate<'tl>
impl<'tl> Unpin for Certificate<'tl>
impl<'tl> UnwindSafe for Certificate<'tl>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more