Struct teloxide::types::MediaContact
source · pub struct MediaContact {
pub contact: Contact,
}
Fields§
§contact: Contact
Message is a shared contact, information about the contact.
Trait Implementations§
source§impl Clone for MediaContact
impl Clone for MediaContact
source§fn clone(&self) -> MediaContact
fn clone(&self) -> MediaContact
Returns a copy 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 MediaContact
impl Debug for MediaContact
source§impl<'de> Deserialize<'de> for MediaContact
impl<'de> Deserialize<'de> for MediaContact
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<MediaContact, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<MediaContact, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<MediaContact> for MediaContact
impl PartialEq<MediaContact> for MediaContact
source§fn eq(&self, other: &MediaContact) -> bool
fn eq(&self, other: &MediaContact) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MediaContact
impl Serialize for MediaContact
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more