Enum file_content::FileContent
source · pub enum FileContent {
Encoded {
content: TextData,
},
Binary {
content: Vec<u8>,
},
}
Expand description
Variants§
Implementations§
Trait Implementations§
source§impl Debug for FileContent
impl Debug for FileContent
source§impl PartialEq for FileContent
impl PartialEq for FileContent
source§fn eq(&self, other: &FileContent) -> bool
fn eq(&self, other: &FileContent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FileContent
Auto Trait Implementations§
impl Freeze for FileContent
impl RefUnwindSafe for FileContent
impl Send for FileContent
impl Sync for FileContent
impl Unpin for FileContent
impl UnwindSafe for FileContent
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