pub struct AddStickerRequestBuilder { /* private fields */ }Expand description
Builder for AddStickerRequest.
Implementations§
Source§impl AddStickerRequestBuilder
impl AddStickerRequestBuilder
Sourcepub fn with_emoji<VALUE: Into<char>>(&mut self, value: VALUE) -> &mut Self
pub fn with_emoji<VALUE: Into<char>>(&mut self, value: VALUE) -> &mut Self
Эмодзи стикера
Sourcepub fn with_image<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn with_image<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Изображение стикера в base64 формате
Sourcepub fn build(&self) -> Result<AddStickerRequest, AddStickerRequestBuilderError>
pub fn build(&self) -> Result<AddStickerRequest, AddStickerRequestBuilderError>
Trait Implementations§
Source§impl Clone for AddStickerRequestBuilder
impl Clone for AddStickerRequestBuilder
Source§fn clone(&self) -> AddStickerRequestBuilder
fn clone(&self) -> AddStickerRequestBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for AddStickerRequestBuilder
impl RefUnwindSafe for AddStickerRequestBuilder
impl Send for AddStickerRequestBuilder
impl Sync for AddStickerRequestBuilder
impl Unpin for AddStickerRequestBuilder
impl UnwindSafe for AddStickerRequestBuilder
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