pub struct DialogOptions {
pub timeout: Option<Duration>,
pub cancel: Option<CancellationToken>,
}Expand description
pi’s ExtensionUIDialogOptions: when a dialog closes on its own.
Fields§
§timeout: Option<Duration>Closes the dialog as cancelled after this long. Interactive dialogs count down in their title.
cancel: Option<CancellationToken>Closes the dialog as cancelled once cancelled.
Trait Implementations§
Source§impl Clone for DialogOptions
impl Clone for DialogOptions
Source§impl Debug for DialogOptions
impl Debug for DialogOptions
Auto Trait Implementations§
impl Forget for DialogOptions
impl Freeze for DialogOptions
impl RefUnwindSafe for DialogOptions
impl Send for DialogOptions
impl Sync for DialogOptions
impl Unpin for DialogOptions
impl UnsafeUnpin for DialogOptions
impl UnwindSafe for DialogOptions
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