pub struct BubbleBuilder { /* private fields */ }
Expand description
Builder for Bubble
.
Implementations§
Source§impl BubbleBuilder
impl BubbleBuilder
Sourcepub fn with_command<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn with_command<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
тело команды
Sourcepub fn with_label<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn with_label<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
наименование команды
Sourcepub fn with_data<VALUE: Into<Value>>(&mut self, value: VALUE) -> &mut Self
pub fn with_data<VALUE: Into<Value>>(&mut self, value: VALUE) -> &mut Self
(Default: {}) - объект с данными, которые будут отправлены в качестве параметров команды при нажатие на кнопку
Sourcepub fn with_opts<VALUE: Into<BubbleOptions>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn with_opts<VALUE: Into<BubbleOptions>>( &mut self, value: VALUE, ) -> &mut Self
объект с клиентскими опциями кнопки
Trait Implementations§
Source§impl Clone for BubbleBuilder
impl Clone for BubbleBuilder
Source§fn clone(&self) -> BubbleBuilder
fn clone(&self) -> BubbleBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for BubbleBuilder
impl RefUnwindSafe for BubbleBuilder
impl Send for BubbleBuilder
impl Sync for BubbleBuilder
impl Unpin for BubbleBuilder
impl UnwindSafe for BubbleBuilder
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