Struct evtc::agent::BreakbarStateEvent
source · pub struct BreakbarStateEvent {
pub time: u64,
pub agent: AgentId,
pub state: BreakbarState,
}
Expand description
Breakbar state change.
Fields§
§time: u64
Time of registering the breakbar state change.
agent: AgentId
Agent changing breakbar state.
state: BreakbarState
New breakbar state.
Trait Implementations§
source§impl Clone for BreakbarStateEvent
impl Clone for BreakbarStateEvent
source§fn clone(&self) -> BreakbarStateEvent
fn clone(&self) -> BreakbarStateEvent
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 BreakbarStateEvent
impl Debug for BreakbarStateEvent
source§impl<'de> Deserialize<'de> for BreakbarStateEvent
impl<'de> Deserialize<'de> for BreakbarStateEvent
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 Extract for BreakbarStateEvent
impl Extract for BreakbarStateEvent
source§impl Serialize for BreakbarStateEvent
impl Serialize for BreakbarStateEvent
source§impl TryExtract for BreakbarStateEvent
impl TryExtract for BreakbarStateEvent
Auto Trait Implementations§
impl Freeze for BreakbarStateEvent
impl RefUnwindSafe for BreakbarStateEvent
impl Send for BreakbarStateEvent
impl Sync for BreakbarStateEvent
impl Unpin for BreakbarStateEvent
impl UnwindSafe for BreakbarStateEvent
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