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