pub struct Resumed {
pub member: Option<EventsPage>,
pub channels: Vec<ChannelEvents>,
pub resync: Vec<Resync>,
pub hidden: Vec<ChannelId>,
pub new: Vec<ChannelHead>,
pub floors: Vec<ChannelFloor>,
pub chain_heads: Vec<Value>,
}Expand description
sync.resume response (§10.3).
Fields§
§member: Option<EventsPage>Member-stream events; absent or null when replaced by a resync entry.
channels: Vec<ChannelEvents>Per listed channel.
resync: Vec<Resync>Streams whose cursor is older than retention.
Listed channels the member can no longer view.
new: Vec<ChannelHead>Viewable channels the client did not list.
floors: Vec<ChannelFloor>Floors of listed channels.
chain_heads: Vec<Value>Appendix A only (experimental); empty otherwise. Kept raw.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Resumed
impl<'de> Deserialize<'de> for Resumed
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 Resumed
impl RefUnwindSafe for Resumed
impl Send for Resumed
impl Sync for Resumed
impl Unpin for Resumed
impl UnsafeUnpin for Resumed
impl UnwindSafe for Resumed
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