pub struct DiscoveryEvent {
pub event: String,
pub date: i64,
pub endpoint: Option<Endpoint>,
pub size: Option<usize>,
}
Fields§
§event: String
§date: i64
§endpoint: Option<Endpoint>
§size: Option<usize>
Trait Implementations§
Source§impl Clone for DiscoveryEvent
impl Clone for DiscoveryEvent
Source§fn clone(&self) -> DiscoveryEvent
fn clone(&self) -> DiscoveryEvent
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 DiscoveryEvent
impl Debug for DiscoveryEvent
Source§impl EventValue for DiscoveryEvent
impl EventValue for DiscoveryEvent
Source§impl EventValueTopic for DiscoveryEvent
impl EventValueTopic for DiscoveryEvent
Source§impl From<DiscvEvent> for DiscoveryEvent
impl From<DiscvEvent> for DiscoveryEvent
Source§fn from(event: DiscvEvent) -> Self
fn from(event: DiscvEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DiscoveryEvent
impl RefUnwindSafe for DiscoveryEvent
impl Send for DiscoveryEvent
impl Sync for DiscoveryEvent
impl Unpin for DiscoveryEvent
impl UnwindSafe for DiscoveryEvent
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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