pub struct PartId(pub String);Expand description
Identifies a content part within a streaming Delta sequence.
Deltas reference parts by PartId so the consumer can reconstruct the
full item as chunks arrive.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PartId
impl<'de> Deserialize<'de> for PartId
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 Ord for PartId
impl Ord for PartId
Source§impl PartialOrd for PartId
impl PartialOrd for PartId
impl Eq for PartId
impl StructuralPartialEq for PartId
Auto Trait Implementations§
impl Freeze for PartId
impl RefUnwindSafe for PartId
impl Send for PartId
impl Sync for PartId
impl Unpin for PartId
impl UnsafeUnpin for PartId
impl UnwindSafe for PartId
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