pub struct TlsBlockRandom {
pub length: i32,
}Expand description
Fields§
§length: i32Trait Implementations§
Source§impl Clone for TlsBlockRandom
impl Clone for TlsBlockRandom
Source§fn clone(&self) -> TlsBlockRandom
fn clone(&self) -> TlsBlockRandom
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 Debug for TlsBlockRandom
impl Debug for TlsBlockRandom
Source§impl Deserializable for TlsBlockRandom
impl Deserializable for TlsBlockRandom
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<TlsBlockRandom> for TlsBlock
impl From<TlsBlockRandom> for TlsBlock
Source§fn from(x: TlsBlockRandom) -> Self
fn from(x: TlsBlockRandom) -> Self
Converts to this type from the input type.
Source§impl Identifiable for TlsBlockRandom
impl Identifiable for TlsBlockRandom
Source§const CONSTRUCTOR_ID: u32 = 0x524a5a90
const CONSTRUCTOR_ID: u32 = 0x524a5a90
The constructor ID as specified in the TL schema.
Source§impl PartialEq for TlsBlockRandom
impl PartialEq for TlsBlockRandom
Source§impl Serializable for TlsBlockRandom
impl Serializable for TlsBlockRandom
Source§impl TryFrom<TlsBlock> for TlsBlockRandom
impl TryFrom<TlsBlock> for TlsBlockRandom
impl StructuralPartialEq for TlsBlockRandom
Auto Trait Implementations§
impl Freeze for TlsBlockRandom
impl RefUnwindSafe for TlsBlockRandom
impl Send for TlsBlockRandom
impl Sync for TlsBlockRandom
impl Unpin for TlsBlockRandom
impl UnsafeUnpin for TlsBlockRandom
impl UnwindSafe for TlsBlockRandom
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