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 for ExtensionEventCallback
impl PartialEq 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 ==
.source§impl Serialize for ExtensionEventCallback
impl Serialize for ExtensionEventCallback
impl StructuralPartialEq for ExtensionEventCallback
Auto Trait Implementations§
impl RefUnwindSafe for ExtensionEventCallback
impl Send for ExtensionEventCallback
impl Sync for ExtensionEventCallback
impl Unpin for ExtensionEventCallback
impl UnwindSafe for ExtensionEventCallback
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