Struct botx_api::api::v3::stickers::update_sticker_pack::models::UpdateStickerPackRequestBuilder
source · pub struct UpdateStickerPackRequestBuilder { /* private fields */ }Expand description
Builder for UpdateStickerPackRequest.
Implementations§
source§impl UpdateStickerPackRequestBuilder
impl UpdateStickerPackRequestBuilder
sourcepub fn with_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn with_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Название набора стикеров
sourcepub fn with_preview<VALUE: Into<Uuid>>(&mut self, value: VALUE) -> &mut Self
pub fn with_preview<VALUE: Into<Uuid>>(&mut self, value: VALUE) -> &mut Self
Уникальный идентификатор стикера из набора, выбранного в качестве превью
sourcepub fn with_stickers_order<VALUE: Into<Vec<Uuid>>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn with_stickers_order<VALUE: Into<Vec<Uuid>>>( &mut self, value: VALUE ) -> &mut Self
Список идентификаторов стикеров набора в порядке их отображения. Для изменения порядка необходимо передавать весь список идентификаторов, в противном случае параметр игнорируется
sourcepub fn build(
&self
) -> Result<UpdateStickerPackRequest, UpdateStickerPackRequestBuilderError>
pub fn build( &self ) -> Result<UpdateStickerPackRequest, UpdateStickerPackRequestBuilderError>
Trait Implementations§
source§impl Clone for UpdateStickerPackRequestBuilder
impl Clone for UpdateStickerPackRequestBuilder
source§fn clone(&self) -> UpdateStickerPackRequestBuilder
fn clone(&self) -> UpdateStickerPackRequestBuilder
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 UpdateStickerPackRequestBuilder
impl Send for UpdateStickerPackRequestBuilder
impl Sync for UpdateStickerPackRequestBuilder
impl Unpin for UpdateStickerPackRequestBuilder
impl UnwindSafe for UpdateStickerPackRequestBuilder
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