mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Add more docs for business related structs
This commit is contained in:
parent
2f8e62f401
commit
31caa3ba04
4 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,7 @@ use serde::{Deserialize, Serialize};
|
|||
|
||||
use crate::types::Sticker;
|
||||
|
||||
/// An introduction for a Business.
|
||||
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||
pub struct BusinessIntro {
|
||||
/// Title text of the business intro
|
||||
|
|
|
@ -2,6 +2,7 @@ use serde::{Deserialize, Serialize};
|
|||
|
||||
use crate::types::Location;
|
||||
|
||||
/// Details about the location of a Business
|
||||
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||
pub struct BusinessLocation {
|
||||
/// Address of the business.
|
||||
|
|
|
@ -2,6 +2,7 @@ use serde::{Deserialize, Serialize};
|
|||
|
||||
use crate::types::BusinessOpeningHoursInterval;
|
||||
|
||||
/// Details about the opening hours of a Business.
|
||||
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||
pub struct BusinessOpeningHours {
|
||||
/// Unique name of the time zone for which the opening hours are defined.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
use serde::{Deserialize, Serialize};
|
||||
|
||||
/// Time intervals used to describe the opening hours of a Business.
|
||||
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||
pub struct BusinessOpeningHoursInterval {
|
||||
/// The minute's sequence number in a week, starting on Monday, marking the
|
||||
|
|
Loading…
Reference in a new issue