pub struct PartEnd {
pub index: usize,
pub part_kind: Option<String>,
}Expand description
Part end event.
Fields§
§index: usizePart index in response.
part_kind: Option<String>Part kind when the provider includes it or the parser can infer it.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PartEnd
impl<'de> Deserialize<'de> for PartEnd
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PartEnd, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PartEnd, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PartEnd
Source§impl Serialize for PartEnd
impl Serialize for PartEnd
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PartEnd
Auto Trait Implementations§
impl Freeze for PartEnd
impl RefUnwindSafe for PartEnd
impl Send for PartEnd
impl Sync for PartEnd
impl Unpin for PartEnd
impl UnsafeUnpin for PartEnd
impl UnwindSafe for PartEnd
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