pub struct RelayStream {
pub relay_slot_id: u64,
pub stream_id: u32,
pub kind: RelayPayloadKind,
pub payload: Vec<u8>,
}Fields§
§relay_slot_id: u64§stream_id: u32§kind: RelayPayloadKind§payload: Vec<u8>Trait Implementations§
Source§impl Clone for RelayStream
impl Clone for RelayStream
Source§fn clone(&self) -> RelayStream
fn clone(&self) -> RelayStream
Returns a duplicate of the value. Read more
1.0.0 · 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 RelayStream
impl Debug for RelayStream
Source§impl<'de> Deserialize<'de> for RelayStream
impl<'de> Deserialize<'de> for RelayStream
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 RelayStream
impl PartialEq for RelayStream
Source§impl Serialize for RelayStream
impl Serialize for RelayStream
impl Eq for RelayStream
impl StructuralPartialEq for RelayStream
Auto Trait Implementations§
impl Freeze for RelayStream
impl RefUnwindSafe for RelayStream
impl Send for RelayStream
impl Sync for RelayStream
impl Unpin for RelayStream
impl UnsafeUnpin for RelayStream
impl UnwindSafe for RelayStream
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