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 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 UpdateStickerPackRequestBuilder
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