pub struct PublicEvent { /* private fields */ }
Implementations§
Source§impl PublicEvent
impl PublicEvent
pub fn installation<T>(self, value: T) -> Self
pub fn organization<T>(self, value: T) -> Self
pub fn repository<T>(self, value: T) -> Self
pub fn sender<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for PublicEvent
impl Clone for PublicEvent
Source§fn clone(&self) -> PublicEvent
fn clone(&self) -> PublicEvent
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 PublicEvent
impl Debug for PublicEvent
Source§impl Default for PublicEvent
impl Default for PublicEvent
Source§impl From<PublicEvent> for PublicEvent
impl From<PublicEvent> for PublicEvent
Source§fn from(value: PublicEvent) -> Self
fn from(value: PublicEvent) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PublicEvent> for PublicEvent
impl TryFrom<PublicEvent> for PublicEvent
Auto Trait Implementations§
impl Freeze for PublicEvent
impl RefUnwindSafe for PublicEvent
impl Send for PublicEvent
impl Sync for PublicEvent
impl Unpin for PublicEvent
impl UnwindSafe for PublicEvent
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