pub enum ZipData {
Raw(Vec<u8>),
Parts(Vec<SkelPart>),
}Expand description
The content of one zip entry in a skeleton. Closed: copied bytes or rebuilt text.
Variants§
Raw(Vec<u8>)
Copied unchanged. In JSON this is a base64 string; the old array-of-integers form still reads.
Parts(Vec<SkelPart>)
A text entry rebuilt from parts.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ZipData
impl<'de> Deserialize<'de> for ZipData
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
impl Eq for ZipData
impl StructuralPartialEq for ZipData
Auto Trait Implementations§
impl Forget for ZipData
impl Freeze for ZipData
impl RefUnwindSafe for ZipData
impl Send for ZipData
impl Sync for ZipData
impl Unpin for ZipData
impl UnsafeUnpin for ZipData
impl UnwindSafe for ZipData
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