pub struct ShieldStateEvent {
pub shields_up: bool,
}
Fields§
§shields_up: bool
Trait Implementations§
Source§impl Clone for ShieldStateEvent
impl Clone for ShieldStateEvent
Source§fn clone(&self) -> ShieldStateEvent
fn clone(&self) -> ShieldStateEvent
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 ShieldStateEvent
impl Debug for ShieldStateEvent
Source§impl<'de> Deserialize<'de> for ShieldStateEvent
impl<'de> Deserialize<'de> for ShieldStateEvent
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 ShieldStateEvent
impl PartialEq for ShieldStateEvent
Source§impl Serialize for ShieldStateEvent
impl Serialize for ShieldStateEvent
impl StructuralPartialEq for ShieldStateEvent
Auto Trait Implementations§
impl Freeze for ShieldStateEvent
impl RefUnwindSafe for ShieldStateEvent
impl Send for ShieldStateEvent
impl Sync for ShieldStateEvent
impl Unpin for ShieldStateEvent
impl UnwindSafe for ShieldStateEvent
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