mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
pub
fixes
This commit is contained in:
parent
cc19034bca
commit
7de6f9f252
2 changed files with 3 additions and 7 deletions
|
@ -1,8 +1,6 @@
|
||||||
use serde::Deserialization;
|
#[derive(Clone, Debug, Deserialize, Eq, Hash, PartialEq, Serialize)]
|
||||||
|
|
||||||
#[derive(Debug, Deserialization, Clone)]
|
|
||||||
/// This object represents a phone contact.
|
/// This object represents a phone contact.
|
||||||
struct Contact {
|
pub struct Contact {
|
||||||
/// Contact's phone number
|
/// Contact's phone number
|
||||||
pub phone_number: String,
|
pub phone_number: String,
|
||||||
/// Contact's first name
|
/// Contact's first name
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
use serde::{Deserialization, Serialization};
|
|
||||||
|
|
||||||
#[derive(Debug, Serialization, Deserialization, Clone)]
|
#[derive(Debug, Serialization, Deserialization, Clone)]
|
||||||
/// This object represents a point on the map.
|
/// This object represents a point on the map.
|
||||||
struct Location {
|
pub struct Location {
|
||||||
/// Longitude as defined by sender
|
/// Longitude as defined by sender
|
||||||
pub longitude: f64,
|
pub longitude: f64,
|
||||||
/// Latitude as defined by sender
|
/// Latitude as defined by sender
|
||||||
|
|
Loading…
Reference in a new issue