pub struct AsyncHookOutput {
pub async_run: bool,
pub async_timeout: Option<u64>,
}Expand description
Async hook output – hook signals it wants to run in background.
Fields§
§async_run: bool§async_timeout: Option<u64>Trait Implementations§
Source§impl Clone for AsyncHookOutput
impl Clone for AsyncHookOutput
Source§fn clone(&self) -> AsyncHookOutput
fn clone(&self) -> AsyncHookOutput
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 moreSource§impl Debug for AsyncHookOutput
impl Debug for AsyncHookOutput
Source§impl<'de> Deserialize<'de> for AsyncHookOutput
impl<'de> Deserialize<'de> for AsyncHookOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AsyncHookOutput
impl RefUnwindSafe for AsyncHookOutput
impl Send for AsyncHookOutput
impl Sync for AsyncHookOutput
impl Unpin for AsyncHookOutput
impl UnsafeUnpin for AsyncHookOutput
impl UnwindSafe for AsyncHookOutput
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