pub enum Destination {
Receiving,
Dealing,
}Expand description
Represents if the log is created by the player or not
Variants§
Receiving
The log is received by the player (being shot at, being repped, …)
Dealing
The log is initiated by the player (shooting someone, repping someone, …)
Trait Implementations§
Source§impl Debug for Destination
impl Debug for Destination
Source§impl<'de> Deserialize<'de> for Destination
impl<'de> Deserialize<'de> for Destination
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
impl Eq for Destination
Source§impl PartialEq for Destination
impl PartialEq for Destination
Source§fn eq(&self, other: &Destination) -> bool
fn eq(&self, other: &Destination) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Destination
impl Serialize for Destination
impl StructuralPartialEq for Destination
Auto Trait Implementations§
impl Freeze for Destination
impl RefUnwindSafe for Destination
impl Send for Destination
impl Sync for Destination
impl Unpin for Destination
impl UnsafeUnpin for Destination
impl UnwindSafe for Destination
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