Struct den::SegmentUnknown
source · pub struct SegmentUnknown<S: ExtendVec = Vec<u8>> {
pub source: S,
}
Expand description
A segment with unknown contents. This will transmit the data.
Fields§
§source: S
The data source to fill the unknown with.
Implementations§
source§impl<S: ExtendVec> SegmentUnknown<S>
impl<S: ExtendVec> SegmentUnknown<S>
Trait Implementations§
source§impl<S: Clone + ExtendVec> Clone for SegmentUnknown<S>
impl<S: Clone + ExtendVec> Clone for SegmentUnknown<S>
source§fn clone(&self) -> SegmentUnknown<S>
fn clone(&self) -> SegmentUnknown<S>
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<'de, S> Deserialize<'de> for SegmentUnknown<S>where
S: Deserialize<'de> + ExtendVec,
impl<'de, S> Deserialize<'de> for SegmentUnknown<S>where S: Deserialize<'de> + ExtendVec,
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<S: PartialEq + ExtendVec> PartialEq<SegmentUnknown<S>> for SegmentUnknown<S>
impl<S: PartialEq + ExtendVec> PartialEq<SegmentUnknown<S>> for SegmentUnknown<S>
source§fn eq(&self, other: &SegmentUnknown<S>) -> bool
fn eq(&self, other: &SegmentUnknown<S>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.