pub struct PeerPrompt {
pub id: String,
pub buttons: Vec<(String, String)>,
}Expand description
A question a task asks the origin person (an approval), answered with one of its buttons.
Fields§
§id: StringThe prompt id on the other bot.
(button id, label), in order.
Trait Implementations§
Source§impl Clone for PeerPrompt
impl Clone for PeerPrompt
Source§impl Debug for PeerPrompt
impl Debug for PeerPrompt
impl Eq for PeerPrompt
Source§impl PartialEq for PeerPrompt
impl PartialEq for PeerPrompt
impl StructuralPartialEq for PeerPrompt
Auto Trait Implementations§
impl Freeze for PeerPrompt
impl RefUnwindSafe for PeerPrompt
impl Send for PeerPrompt
impl Sync for PeerPrompt
impl Unpin for PeerPrompt
impl UnsafeUnpin for PeerPrompt
impl UnwindSafe for PeerPrompt
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