pub struct ChannelHead {
pub channel_id: ChannelId,
pub head_seq: u64,
pub floor: u64,
}Expand description
{channel_id, head_seq, floor} (sync.resume.new, §10.3).
Fields§
§channel_id: ChannelIdA channel the client did not list but can now view.
head_seq: u64Its latest channel_seq.
floor: u64The member’s floor in it.
Trait Implementations§
Source§impl Clone for ChannelHead
impl Clone for ChannelHead
Source§fn clone(&self) -> ChannelHead
fn clone(&self) -> ChannelHead
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChannelHead
Source§impl Debug for ChannelHead
impl Debug for ChannelHead
Source§impl<'de> Deserialize<'de> for ChannelHead
impl<'de> Deserialize<'de> for ChannelHead
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
impl Eq for ChannelHead
Source§impl PartialEq for ChannelHead
impl PartialEq for ChannelHead
Source§impl Serialize for ChannelHead
impl Serialize for ChannelHead
impl StructuralPartialEq for ChannelHead
Auto Trait Implementations§
impl Freeze for ChannelHead
impl RefUnwindSafe for ChannelHead
impl Send for ChannelHead
impl Sync for ChannelHead
impl Unpin for ChannelHead
impl UnsafeUnpin for ChannelHead
impl UnwindSafe for ChannelHead
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