pub struct TypeStream {
pub payload: Option<InterfaceType>,
}
Expand description
Shape of a “stream” interface type.
Fields§
§payload: Option<InterfaceType>
The T
in stream<T>
Trait Implementations§
Source§impl Clone for TypeStream
impl Clone for TypeStream
Source§fn clone(&self) -> TypeStream
fn clone(&self) -> TypeStream
Returns a copy 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 TypeStream
impl Debug for TypeStream
Source§impl<'de> Deserialize<'de> for TypeStream
impl<'de> Deserialize<'de> for TypeStream
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 Hash for TypeStream
impl Hash for TypeStream
Source§impl PartialEq for TypeStream
impl PartialEq for TypeStream
Source§impl Serialize for TypeStream
impl Serialize for TypeStream
impl Eq for TypeStream
impl StructuralPartialEq for TypeStream
Auto Trait Implementations§
impl Freeze for TypeStream
impl RefUnwindSafe for TypeStream
impl Send for TypeStream
impl Sync for TypeStream
impl Unpin for TypeStream
impl UnwindSafe for TypeStream
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.