pub struct BaseOptionPublicResponse<'a, Data> {
pub id: &'a str,
pub topic: &'a str,
pub type_: &'a str,
pub ts: u64,
pub data: Data,
}Fields§
§id: &'a strmessage ID
topic: &'a strTopic name.
type_: &'a strData type. snapshot.
ts: u64The timestamp (ms) that the system generates the data.
data: DataThe data vary on the topic.
Trait Implementations§
Source§impl<'a, Data: Debug> Debug for BaseOptionPublicResponse<'a, Data>
impl<'a, Data: Debug> Debug for BaseOptionPublicResponse<'a, Data>
Source§impl<'de: 'a, 'a, Data> Deserialize<'de> for BaseOptionPublicResponse<'a, Data>where
Data: Deserialize<'de>,
impl<'de: 'a, 'a, Data> Deserialize<'de> for BaseOptionPublicResponse<'a, Data>where
Data: Deserialize<'de>,
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<'a, Data> Freeze for BaseOptionPublicResponse<'a, Data>where
Data: Freeze,
impl<'a, Data> RefUnwindSafe for BaseOptionPublicResponse<'a, Data>where
Data: RefUnwindSafe,
impl<'a, Data> Send for BaseOptionPublicResponse<'a, Data>where
Data: Send,
impl<'a, Data> Sync for BaseOptionPublicResponse<'a, Data>where
Data: Sync,
impl<'a, Data> Unpin for BaseOptionPublicResponse<'a, Data>where
Data: Unpin,
impl<'a, Data> UnwindSafe for BaseOptionPublicResponse<'a, Data>where
Data: UnwindSafe,
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