Struct librojo::web_api::SubscribeResponse [−][src]
pub struct SubscribeResponse<'a> {
pub session_id: SessionId,
pub message_cursor: u32,
pub messages: Vec<SubscribeMessage<'a>>,
}Expand description
Response body from /api/subscribe/{cursor}
Fields
session_id: SessionIdmessage_cursor: u32messages: Vec<SubscribeMessage<'a>>Trait Implementations
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> RefUnwindSafe for SubscribeResponse<'a>
impl<'a> Send for SubscribeResponse<'a>
impl<'a> Sync for SubscribeResponse<'a>
impl<'a> Unpin for SubscribeResponse<'a>
impl<'a> UnwindSafe for SubscribeResponse<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
