pub struct ProxyTypeMtproto {
pub secret: String,
}
Expand description
An MTProto proxy server
Fields§
§secret: String
The proxy’s secret in hexadecimal encoding
Trait Implementations§
Source§impl Clone for ProxyTypeMtproto
impl Clone for ProxyTypeMtproto
Source§fn clone(&self) -> ProxyTypeMtproto
fn clone(&self) -> ProxyTypeMtproto
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 ProxyTypeMtproto
impl Debug for ProxyTypeMtproto
Source§impl Default for ProxyTypeMtproto
impl Default for ProxyTypeMtproto
Source§fn default() -> ProxyTypeMtproto
fn default() -> ProxyTypeMtproto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProxyTypeMtproto
impl<'de> Deserialize<'de> for ProxyTypeMtproto
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProxyTypeMtproto
impl PartialEq for ProxyTypeMtproto
Source§impl Serialize for ProxyTypeMtproto
impl Serialize for ProxyTypeMtproto
impl StructuralPartialEq for ProxyTypeMtproto
Auto Trait Implementations§
impl Freeze for ProxyTypeMtproto
impl RefUnwindSafe for ProxyTypeMtproto
impl Send for ProxyTypeMtproto
impl Sync for ProxyTypeMtproto
impl Unpin for ProxyTypeMtproto
impl UnwindSafe for ProxyTypeMtproto
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