pub struct FromHubMsg {
pub from: HubAddr,
pub msg: HubMsg,
}
Fields§
§from: HubAddr
§msg: HubMsg
Trait Implementations§
Source§impl Clone for FromHubMsg
impl Clone for FromHubMsg
Source§fn clone(&self) -> FromHubMsg
fn clone(&self) -> FromHubMsg
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 FromHubMsg
impl Debug for FromHubMsg
Source§impl<'de> Deserialize<'de> for FromHubMsg
impl<'de> Deserialize<'de> for FromHubMsg
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
Auto Trait Implementations§
impl Freeze for FromHubMsg
impl RefUnwindSafe for FromHubMsg
impl Send for FromHubMsg
impl Sync for FromHubMsg
impl Unpin for FromHubMsg
impl UnwindSafe for FromHubMsg
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