pub struct PatchNoteCreatedEvent {
pub data: Box<PatchNoteCreatedEventData>,
}Expand description
PatchNoteCreatedEvent : Represents an event indicating that a patch note was created. Requires the stream:read and patch-notes:read scopes to receive this event.
Fields§
§data: Box<PatchNoteCreatedEventData>Implementations§
Source§impl PatchNoteCreatedEvent
impl PatchNoteCreatedEvent
Sourcepub fn new(data: PatchNoteCreatedEventData) -> PatchNoteCreatedEvent
pub fn new(data: PatchNoteCreatedEventData) -> PatchNoteCreatedEvent
Represents an event indicating that a patch note was created. Requires the stream:read and patch-notes:read scopes to receive this event.
Trait Implementations§
Source§impl Clone for PatchNoteCreatedEvent
impl Clone for PatchNoteCreatedEvent
Source§fn clone(&self) -> PatchNoteCreatedEvent
fn clone(&self) -> PatchNoteCreatedEvent
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 PatchNoteCreatedEvent
impl Debug for PatchNoteCreatedEvent
Source§impl Default for PatchNoteCreatedEvent
impl Default for PatchNoteCreatedEvent
Source§fn default() -> PatchNoteCreatedEvent
fn default() -> PatchNoteCreatedEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchNoteCreatedEvent
impl<'de> Deserialize<'de> for PatchNoteCreatedEvent
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 PatchNoteCreatedEvent
impl PartialEq for PatchNoteCreatedEvent
Source§impl Serialize for PatchNoteCreatedEvent
impl Serialize for PatchNoteCreatedEvent
impl StructuralPartialEq for PatchNoteCreatedEvent
Auto Trait Implementations§
impl Freeze for PatchNoteCreatedEvent
impl RefUnwindSafe for PatchNoteCreatedEvent
impl Send for PatchNoteCreatedEvent
impl Sync for PatchNoteCreatedEvent
impl Unpin for PatchNoteCreatedEvent
impl UnsafeUnpin for PatchNoteCreatedEvent
impl UnwindSafe for PatchNoteCreatedEvent
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