pub struct FileEntry {
pub name: String,
pub sha256: String,
pub rows: usize,
pub dropped: Vec<String>,
}Expand description
One file in a bundle.
Fields§
§name: StringThe name the file has inside the bundle.
sha256: StringSHA-256 of its bytes, lowercase hex.
rows: usizeData rows, header excluded.
dropped: Vec<String>Columns the allow-list dropped, in the header’s own order.
Reported rather than silently removed: a file that carried more than its allow-list is something the recipient should see.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileEntry
impl<'de> Deserialize<'de> for FileEntry
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 FileEntry
impl StructuralPartialEq for FileEntry
Auto Trait Implementations§
impl Forget for FileEntry
impl Freeze for FileEntry
impl Move for FileEntry
impl RefUnwindSafe for FileEntry
impl Send for FileEntry
impl Sync for FileEntry
impl Unpin for FileEntry
impl UnsafeUnpin for FileEntry
impl UnwindSafe for FileEntry
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