pub struct CdnFile {
pub bytes: Vec<u8>,
}Expand description
Fields§
§bytes: Vec<u8>Trait Implementations§
Source§impl Deserializable for CdnFile
impl Deserializable for CdnFile
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 Identifiable for CdnFile
impl Identifiable for CdnFile
Source§const CONSTRUCTOR_ID: u32 = 0xa99fca4f
const CONSTRUCTOR_ID: u32 = 0xa99fca4f
The constructor ID as specified in the TL schema.
Source§impl Serializable for CdnFile
impl Serializable for CdnFile
impl StructuralPartialEq for CdnFile
Auto Trait Implementations§
impl Freeze for CdnFile
impl RefUnwindSafe for CdnFile
impl Send for CdnFile
impl Sync for CdnFile
impl Unpin for CdnFile
impl UnsafeUnpin for CdnFile
impl UnwindSafe for CdnFile
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