pub struct EndpointCreatedEvent {
pub data: Box<EndpointCreatedEventData>,
pub type: Type,
}
Expand description
EndpointCreatedEvent : Sent when an endpoint is created.
Fields§
§data: Box<EndpointCreatedEventData>
§type: Type
Implementations§
Source§impl EndpointCreatedEvent
impl EndpointCreatedEvent
Sourcepub fn new(data: EndpointCreatedEventData, type: Type) -> EndpointCreatedEvent
pub fn new(data: EndpointCreatedEventData, type: Type) -> EndpointCreatedEvent
Sent when an endpoint is created.
Trait Implementations§
Source§impl Clone for EndpointCreatedEvent
impl Clone for EndpointCreatedEvent
Source§fn clone(&self) -> EndpointCreatedEvent
fn clone(&self) -> EndpointCreatedEvent
Returns a duplicate 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 EndpointCreatedEvent
impl Debug for EndpointCreatedEvent
Source§impl Default for EndpointCreatedEvent
impl Default for EndpointCreatedEvent
Source§fn default() -> EndpointCreatedEvent
fn default() -> EndpointCreatedEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EndpointCreatedEvent
impl<'de> Deserialize<'de> for EndpointCreatedEvent
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 EndpointCreatedEvent
impl PartialEq for EndpointCreatedEvent
Source§impl Serialize for EndpointCreatedEvent
impl Serialize for EndpointCreatedEvent
impl StructuralPartialEq for EndpointCreatedEvent
Auto Trait Implementations§
impl Freeze for EndpointCreatedEvent
impl RefUnwindSafe for EndpointCreatedEvent
impl Send for EndpointCreatedEvent
impl Sync for EndpointCreatedEvent
impl Unpin for EndpointCreatedEvent
impl UnwindSafe for EndpointCreatedEvent
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