pub struct WatchEvent(pub WatchStarted);
Expand description
WatchEvent
JSON schema
{
"oneOf": [
{
"$ref": "#/definitions/watch$started"
}
]
}
Tuple Fields§
§0: WatchStarted
Trait Implementations§
Source§impl Clone for WatchEvent
impl Clone for WatchEvent
Source§fn clone(&self) -> WatchEvent
fn clone(&self) -> WatchEvent
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 WatchEvent
impl Debug for WatchEvent
Source§impl Deref for WatchEvent
impl Deref for WatchEvent
Source§type Target = WatchStarted
type Target = WatchStarted
The resulting type after dereferencing.
Source§fn deref(&self) -> &WatchStarted
fn deref(&self) -> &WatchStarted
Dereferences the value.
Source§impl<'de> Deserialize<'de> for WatchEvent
impl<'de> Deserialize<'de> for WatchEvent
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
Source§impl From<&WatchEvent> for WatchEvent
impl From<&WatchEvent> for WatchEvent
Source§fn from(value: &WatchEvent) -> Self
fn from(value: &WatchEvent) -> Self
Converts to this type from the input type.
Source§impl From<WatchEvent> for WatchStarted
impl From<WatchEvent> for WatchStarted
Source§fn from(value: WatchEvent) -> Self
fn from(value: WatchEvent) -> Self
Converts to this type from the input type.
Source§impl From<WatchStarted> for WatchEvent
impl From<WatchStarted> for WatchEvent
Source§fn from(value: WatchStarted) -> Self
fn from(value: WatchStarted) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WatchEvent
impl RefUnwindSafe for WatchEvent
impl Send for WatchEvent
impl Sync for WatchEvent
impl Unpin for WatchEvent
impl UnwindSafe for WatchEvent
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