Struct botx_api::api::v3::stickers::add_sticker::models::AddStickerRequestBuilder
source · 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 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 moreAuto Trait Implementations§
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