//! Types representing a mask position.
useis_macro::Is;useserde::{Deserialize, Serialize};/// Represents where the mask is placed.
#[derive(
Debug, PartialEq, Eq, Clone, Copy, Hash, Serialize, Deserialize, Is,)]#[serde(rename_all ="snake_case")]#[non_exhaustive]pubenumPoint{/// Placed on forehead.
Forehead,/// Placed on eyes.
Eyes,/// Placed on mouth.
Mouth,/// Placed on chin.
Chin,}/// Represents a [`MaskPosition`].
////// [`MaskPosition`]: https://core.telegram.org/bots/api#maskposition
#[derive(Debug, PartialEq, Clone, Copy, Serialize, Deserialize)]#[non_exhaustive]pubstructMaskPosition{/// The position point of the mask.
pubpoint: Point,
/// The shift of the mask by X.
pubx_shift:f64,
/// The shift of the mask by Y.
puby_shift:f64,
/// The scale of the mask.
pubscale:f64,
}