pub struct SingleFileSource {Show 19 fields
pub identifier: Option<i32>,
pub name: Option<String>,
pub evidence_number: Option<String>,
pub location: Option<String>,
pub device_guid: Option<String>,
pub primary_device_guid: Option<String>,
pub drive_type: Option<char>,
pub manufacturer: Option<String>,
pub model: Option<String>,
pub serial_number: Option<String>,
pub domain: Option<String>,
pub ip_address: Option<String>,
pub mac_address: Option<String>,
pub size: Option<u64>,
pub logical_offset: Option<i64>,
pub physical_offset: Option<i64>,
pub acquisition_time: Option<i64>,
pub md5: Option<String>,
pub sha1: Option<String>,
}Expand description
Source record for logical single-file metadata.
Fields§
§identifier: Option<i32>Source identifier.
name: Option<String>Source name.
evidence_number: Option<String>Evidence number associated with the source.
location: Option<String>Source location.
device_guid: Option<String>Source device GUID.
primary_device_guid: Option<String>Primary source device GUID.
drive_type: Option<char>Source drive type code.
manufacturer: Option<String>Source manufacturer.
model: Option<String>Source model.
serial_number: Option<String>Source serial number.
domain: Option<String>Source domain.
ip_address: Option<String>Source IP address.
mac_address: Option<String>Source MAC address.
size: Option<u64>Source size in bytes.
logical_offset: Option<i64>Source logical offset.
physical_offset: Option<i64>Source physical offset.
acquisition_time: Option<i64>Source acquisition timestamp.
md5: Option<String>Source MD5 hash string.
sha1: Option<String>Source SHA1 hash string.
Implementations§
Source§impl SingleFileSource
impl SingleFileSource
Sourcepub fn identifier(&self) -> Option<i32>
pub fn identifier(&self) -> Option<i32>
Returns the source identifier.
Sourcepub fn evidence_number(&self) -> Option<&str>
pub fn evidence_number(&self) -> Option<&str>
Returns the evidence number associated with the source.
Sourcepub fn device_guid(&self) -> Option<&str>
pub fn device_guid(&self) -> Option<&str>
Returns the source device GUID.
Sourcepub fn primary_device_guid(&self) -> Option<&str>
pub fn primary_device_guid(&self) -> Option<&str>
Returns the primary source device GUID.
Sourcepub fn manufacturer(&self) -> Option<&str>
pub fn manufacturer(&self) -> Option<&str>
Returns the source manufacturer.
Sourcepub fn serial_number(&self) -> Option<&str>
pub fn serial_number(&self) -> Option<&str>
Returns the source serial number.
Sourcepub fn ip_address(&self) -> Option<&str>
pub fn ip_address(&self) -> Option<&str>
Returns the source IP address.
Sourcepub fn mac_address(&self) -> Option<&str>
pub fn mac_address(&self) -> Option<&str>
Returns the source MAC address.
Sourcepub fn drive_type(&self) -> Option<char>
pub fn drive_type(&self) -> Option<char>
Returns the source drive type code.
Sourcepub fn logical_offset(&self) -> Option<i64>
pub fn logical_offset(&self) -> Option<i64>
Returns the source logical offset.
Sourcepub fn physical_offset(&self) -> Option<i64>
pub fn physical_offset(&self) -> Option<i64>
Returns the source physical offset.
Sourcepub fn acquisition_time(&self) -> Option<i64>
pub fn acquisition_time(&self) -> Option<i64>
Returns the source acquisition timestamp.
Trait Implementations§
Source§impl Clone for SingleFileSource
impl Clone for SingleFileSource
Source§fn clone(&self) -> SingleFileSource
fn clone(&self) -> SingleFileSource
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SingleFileSource
impl Debug for SingleFileSource
Source§impl Default for SingleFileSource
impl Default for SingleFileSource
Source§fn default() -> SingleFileSource
fn default() -> SingleFileSource
impl Eq for SingleFileSource
Source§impl PartialEq for SingleFileSource
impl PartialEq for SingleFileSource
impl StructuralPartialEq for SingleFileSource
Auto Trait Implementations§
impl Freeze for SingleFileSource
impl RefUnwindSafe for SingleFileSource
impl Send for SingleFileSource
impl Sync for SingleFileSource
impl Unpin for SingleFileSource
impl UnsafeUnpin for SingleFileSource
impl UnwindSafe for SingleFileSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.