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§
Implementations§
source§impl<'tl> Certificate<'tl>
impl<'tl> Certificate<'tl>
pub const TL_ID_CERTIFICATE: u32 = 3_768_506_161u32
pub const TL_ID_EMPTY_CERTIFICATE: u32 = 853_195_983u32
Trait Implementations§
source§impl<'tl> Clone for Certificate<'tl>
impl<'tl> Clone for Certificate<'tl>
source§fn clone(&self) -> Certificate<'tl>
fn clone(&self) -> Certificate<'tl>
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 more