pub struct EventHandlerDefinition {
pub name: String,
pub description: Option<String>,
pub cron: Option<String>,
}Expand description
Standalone event / webhook / schedule handler advertised via capabilities.list.
Fields§
§name: String§description: Option<String>§cron: Option<String>Trait Implementations§
Source§impl Clone for EventHandlerDefinition
impl Clone for EventHandlerDefinition
Source§fn clone(&self) -> EventHandlerDefinition
fn clone(&self) -> EventHandlerDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EventHandlerDefinition
impl Debug for EventHandlerDefinition
Source§impl<'de> Deserialize<'de> for EventHandlerDefinition
impl<'de> Deserialize<'de> for EventHandlerDefinition
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
impl Eq for EventHandlerDefinition
Source§impl PartialEq for EventHandlerDefinition
impl PartialEq for EventHandlerDefinition
Source§impl Serialize for EventHandlerDefinition
impl Serialize for EventHandlerDefinition
impl StructuralPartialEq for EventHandlerDefinition
Auto Trait Implementations§
impl Freeze for EventHandlerDefinition
impl RefUnwindSafe for EventHandlerDefinition
impl Send for EventHandlerDefinition
impl Sync for EventHandlerDefinition
impl Unpin for EventHandlerDefinition
impl UnsafeUnpin for EventHandlerDefinition
impl UnwindSafe for EventHandlerDefinition
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