Struct rust_tdlib::types::CreateNewStickerSet
source · [−]pub struct CreateNewStickerSet { /* private fields */ }
Expand description
Creates a new sticker set. Returns the newly created sticker set
Implementations
sourceimpl CreateNewStickerSet
impl CreateNewStickerSet
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> CreateNewStickerSetBuilder
pub fn user_id(&self) -> i64
pub fn title(&self) -> &String
pub fn name(&self) -> &String
pub fn is_masks(&self) -> bool
pub fn stickers(&self) -> &Vec<InputSticker>
pub fn source(&self) -> &String
Trait Implementations
sourceimpl AsRef<CreateNewStickerSet> for CreateNewStickerSet
impl AsRef<CreateNewStickerSet> for CreateNewStickerSet
sourcefn as_ref(&self) -> &CreateNewStickerSet
fn as_ref(&self) -> &CreateNewStickerSet
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for CreateNewStickerSet
impl Clone for CreateNewStickerSet
sourcefn clone(&self) -> CreateNewStickerSet
fn clone(&self) -> CreateNewStickerSet
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateNewStickerSet
impl Debug for CreateNewStickerSet
sourceimpl Default for CreateNewStickerSet
impl Default for CreateNewStickerSet
sourcefn default() -> CreateNewStickerSet
fn default() -> CreateNewStickerSet
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CreateNewStickerSet
impl<'de> Deserialize<'de> for CreateNewStickerSet
sourcefn 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
sourceimpl Serialize for CreateNewStickerSet
impl Serialize for CreateNewStickerSet
Auto Trait Implementations
impl RefUnwindSafe for CreateNewStickerSet
impl Send for CreateNewStickerSet
impl Sync for CreateNewStickerSet
impl Unpin for CreateNewStickerSet
impl UnwindSafe for CreateNewStickerSet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more