pub struct NotifyEntry {
pub channel: ChannelRef,
pub events: Option<Vec<NotifyEvent>>,
}Expand description
One channel a DAG notifies (notify=[...] or notify={channel: [...]}).
Fields§
§channel: ChannelRefThe channel.
events: Option<Vec<NotifyEvent>>The events it is told of; none: the server’s default events
([notifications] default_events).
Trait Implementations§
Source§impl Clone for NotifyEntry
impl Clone for NotifyEntry
Source§fn clone(&self) -> NotifyEntry
fn clone(&self) -> NotifyEntry
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 NotifyEntry
impl Debug for NotifyEntry
Source§impl<'de> Deserialize<'de> for NotifyEntry
impl<'de> Deserialize<'de> for NotifyEntry
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 NotifyEntry
Source§impl JsonSchema for NotifyEntry
impl JsonSchema for NotifyEntry
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for NotifyEntry
impl PartialEq for NotifyEntry
Source§impl Serialize for NotifyEntry
impl Serialize for NotifyEntry
impl StructuralPartialEq for NotifyEntry
Auto Trait Implementations§
impl Freeze for NotifyEntry
impl RefUnwindSafe for NotifyEntry
impl Send for NotifyEntry
impl Sync for NotifyEntry
impl Unpin for NotifyEntry
impl UnsafeUnpin for NotifyEntry
impl UnwindSafe for NotifyEntry
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