pub struct StickerPack {
pub id: Uuid,
pub name: String,
pub public: bool,
pub preview: Option<String>,
pub stickers: Vec<Sticker>,
pub stickers_order: Vec<Uuid>,
pub inserted_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub deleted_at: Option<DateTime<Utc>>,
}Fields§
§id: Uuidid наборе стикеров
name: StringНазвание наборе стикеров
public: boolПризнак публично доступного наборе
preview: Option<String>Url для превью наборе
stickers: Vec<Sticker>Стикеры в наборе
stickers_order: Vec<Uuid>Порядок отображения стикеров
inserted_at: DateTime<Utc>Время создания набора
updated_at: DateTime<Utc>Время последнего обновления набора
deleted_at: Option<DateTime<Utc>>Время удаления набора
Trait Implementations§
source§impl Clone for StickerPack
impl Clone for StickerPack
source§fn clone(&self) -> StickerPack
fn clone(&self) -> StickerPack
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 StickerPack
impl Debug for StickerPack
source§impl<'de> Deserialize<'de> for StickerPack
impl<'de> Deserialize<'de> for StickerPack
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
Auto Trait Implementations§
impl RefUnwindSafe for StickerPack
impl Send for StickerPack
impl Sync for StickerPack
impl Unpin for StickerPack
impl UnwindSafe for StickerPack
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