pub struct FileChunkSplitResult {
pub info_file: String,
pub file_name: String,
pub file_hash: String,
pub file_size: usize,
pub chunk_size: usize,
pub chunk_count: usize,
pub list: HashMap<usize, (String, String)>,
}
Fields§
§info_file: String
§file_name: String
§file_hash: String
§file_size: usize
§chunk_size: usize
§chunk_count: usize
§list: HashMap<usize, (String, String)>
Trait Implementations§
Source§impl Clone for FileChunkSplitResult
impl Clone for FileChunkSplitResult
Source§fn clone(&self) -> FileChunkSplitResult
fn clone(&self) -> FileChunkSplitResult
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FileChunkSplitResult
impl Debug for FileChunkSplitResult
Source§impl<'de> Deserialize<'de> for FileChunkSplitResult
impl<'de> Deserialize<'de> for FileChunkSplitResult
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 PartialEq for FileChunkSplitResult
impl PartialEq for FileChunkSplitResult
Source§impl Serialize for FileChunkSplitResult
impl Serialize for FileChunkSplitResult
impl Eq for FileChunkSplitResult
impl StructuralPartialEq for FileChunkSplitResult
Auto Trait Implementations§
impl Freeze for FileChunkSplitResult
impl RefUnwindSafe for FileChunkSplitResult
impl Send for FileChunkSplitResult
impl Sync for FileChunkSplitResult
impl Unpin for FileChunkSplitResult
impl UnwindSafe for FileChunkSplitResult
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