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