pub enum DiscoverEvent {
NodeCatalog {
node: String,
instance_id: String,
revision: u64,
fingerprint: String,
subjects: Vec<Value>,
},
Edge {
from: String,
to: String,
},
Warning {
node: String,
message: String,
},
Done {
discover_id: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for DiscoverEvent
impl Clone for DiscoverEvent
Source§fn clone(&self) -> DiscoverEvent
fn clone(&self) -> DiscoverEvent
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 DiscoverEvent
impl Debug for DiscoverEvent
Source§impl<'de> Deserialize<'de> for DiscoverEvent
impl<'de> Deserialize<'de> for DiscoverEvent
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 DiscoverEvent
impl PartialEq for DiscoverEvent
Source§impl Serialize for DiscoverEvent
impl Serialize for DiscoverEvent
impl StructuralPartialEq for DiscoverEvent
Auto Trait Implementations§
impl Freeze for DiscoverEvent
impl RefUnwindSafe for DiscoverEvent
impl Send for DiscoverEvent
impl Sync for DiscoverEvent
impl Unpin for DiscoverEvent
impl UnsafeUnpin for DiscoverEvent
impl UnwindSafe for DiscoverEvent
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