pub struct PacketEvidence {
pub files: Vec<FileEvidence>,
pub max_bytes: usize,
pub max_lines: usize,
}Expand description
Evidence of packet construction for auditability
Fields§
§files: Vec<FileEvidence>List of files included in the packet
max_bytes: usizeMaximum bytes allowed in packet
max_lines: usizeMaximum lines allowed in packet
Trait Implementations§
Source§impl Clone for PacketEvidence
impl Clone for PacketEvidence
Source§fn clone(&self) -> PacketEvidence
fn clone(&self) -> PacketEvidence
Returns a duplicate 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 PacketEvidence
impl Debug for PacketEvidence
Source§impl<'de> Deserialize<'de> for PacketEvidence
impl<'de> Deserialize<'de> for PacketEvidence
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
Auto Trait Implementations§
impl Freeze for PacketEvidence
impl RefUnwindSafe for PacketEvidence
impl Send for PacketEvidence
impl Sync for PacketEvidence
impl Unpin for PacketEvidence
impl UnsafeUnpin for PacketEvidence
impl UnwindSafe for PacketEvidence
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