pub struct ExtensionEventCallback {
pub uri: Option<String>,
}Expand description
Base class for an event callback for an extension
Fields§
§uri: Option<String>The uri of the endpoint that is hit when an event occurs
Implementations§
Trait Implementations§
source§impl Clone for ExtensionEventCallback
impl Clone for ExtensionEventCallback
source§fn clone(&self) -> ExtensionEventCallback
fn clone(&self) -> ExtensionEventCallback
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 moresource§impl Debug for ExtensionEventCallback
impl Debug for ExtensionEventCallback
source§impl Default for ExtensionEventCallback
impl Default for ExtensionEventCallback
source§fn default() -> ExtensionEventCallback
fn default() -> ExtensionEventCallback
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ExtensionEventCallback
impl<'de> Deserialize<'de> for ExtensionEventCallback
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 PartialEq<ExtensionEventCallback> for ExtensionEventCallback
impl PartialEq<ExtensionEventCallback> for ExtensionEventCallback
source§fn eq(&self, other: &ExtensionEventCallback) -> bool
fn eq(&self, other: &ExtensionEventCallback) -> bool
This method tests for
self and other values to be equal, and is used
by ==.