pub struct CdnPublicKey {
pub dc_id: i32,
pub public_key: String,
}Expand description
Fields§
§dc_id: i32§public_key: StringTrait Implementations§
Source§impl Clone for CdnPublicKey
impl Clone for CdnPublicKey
Source§fn clone(&self) -> CdnPublicKey
fn clone(&self) -> CdnPublicKey
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 CdnPublicKey
impl Debug for CdnPublicKey
Source§impl Deserializable for CdnPublicKey
impl Deserializable for CdnPublicKey
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<CdnPublicKey> for CdnPublicKey
impl From<CdnPublicKey> for CdnPublicKey
Source§fn from(x: CdnPublicKey) -> Self
fn from(x: CdnPublicKey) -> Self
Converts to this type from the input type.
Source§impl Identifiable for CdnPublicKey
impl Identifiable for CdnPublicKey
Source§const CONSTRUCTOR_ID: u32 = 0xc982eaba
const CONSTRUCTOR_ID: u32 = 0xc982eaba
The constructor ID as specified in the TL schema.
Source§impl PartialEq for CdnPublicKey
impl PartialEq for CdnPublicKey
Source§impl Serializable for CdnPublicKey
impl Serializable for CdnPublicKey
Source§impl TryFrom<CdnPublicKey> for CdnPublicKey
impl TryFrom<CdnPublicKey> for CdnPublicKey
Source§type Error = CdnPublicKey
type Error = CdnPublicKey
The type returned in the event of a conversion error.
impl StructuralPartialEq for CdnPublicKey
Auto Trait Implementations§
impl Freeze for CdnPublicKey
impl RefUnwindSafe for CdnPublicKey
impl Send for CdnPublicKey
impl Sync for CdnPublicKey
impl Unpin for CdnPublicKey
impl UnsafeUnpin for CdnPublicKey
impl UnwindSafe for CdnPublicKey
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