pub struct TlsBlockString {
pub data: Vec<u8>,
}Expand description
Fields§
§data: Vec<u8>Trait Implementations§
Source§impl Clone for TlsBlockString
impl Clone for TlsBlockString
Source§fn clone(&self) -> TlsBlockString
fn clone(&self) -> TlsBlockString
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 TlsBlockString
impl Debug for TlsBlockString
Source§impl Deserializable for TlsBlockString
impl Deserializable for TlsBlockString
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<TlsBlockString> for TlsBlock
impl From<TlsBlockString> for TlsBlock
Source§fn from(x: TlsBlockString) -> Self
fn from(x: TlsBlockString) -> Self
Converts to this type from the input type.
Source§impl Identifiable for TlsBlockString
impl Identifiable for TlsBlockString
Source§const CONSTRUCTOR_ID: u32 = 0x97e3f44b
const CONSTRUCTOR_ID: u32 = 0x97e3f44b
The constructor ID as specified in the TL schema.
Source§impl PartialEq for TlsBlockString
impl PartialEq for TlsBlockString
Source§impl Serializable for TlsBlockString
impl Serializable for TlsBlockString
Source§impl TryFrom<TlsBlock> for TlsBlockString
impl TryFrom<TlsBlock> for TlsBlockString
impl StructuralPartialEq for TlsBlockString
Auto Trait Implementations§
impl Freeze for TlsBlockString
impl RefUnwindSafe for TlsBlockString
impl Send for TlsBlockString
impl Sync for TlsBlockString
impl Unpin for TlsBlockString
impl UnsafeUnpin for TlsBlockString
impl UnwindSafe for TlsBlockString
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