pub struct StreamClosePayload {
pub final_sequence: Option<u64>,
}Expand description
Payload for stream.close.
Fields§
§final_sequence: Option<u64>Optional final sequence number.
Trait Implementations§
Source§impl Clone for StreamClosePayload
impl Clone for StreamClosePayload
Source§fn clone(&self) -> StreamClosePayload
fn clone(&self) -> StreamClosePayload
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 moreSource§impl Debug for StreamClosePayload
impl Debug for StreamClosePayload
Source§impl Default for StreamClosePayload
impl Default for StreamClosePayload
Source§fn default() -> StreamClosePayload
fn default() -> StreamClosePayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamClosePayload
impl<'de> Deserialize<'de> for StreamClosePayload
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
Source§impl PartialEq for StreamClosePayload
impl PartialEq for StreamClosePayload
Source§fn eq(&self, other: &StreamClosePayload) -> bool
fn eq(&self, other: &StreamClosePayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StreamClosePayload
impl Serialize for StreamClosePayload
impl Eq for StreamClosePayload
impl StructuralPartialEq for StreamClosePayload
Auto Trait Implementations§
impl Freeze for StreamClosePayload
impl RefUnwindSafe for StreamClosePayload
impl Send for StreamClosePayload
impl Sync for StreamClosePayload
impl Unpin for StreamClosePayload
impl UnsafeUnpin for StreamClosePayload
impl UnwindSafe for StreamClosePayload
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