pub struct AcceptedAttachment {
pub bytes: Vec<u8>,
pub blake3_hex: String,
pub size: u64,
pub resolved: PathBuf,
}Expand description
T-32b: outcome of a successful read — bytes plus metadata the caller surfaces to the agent (and writes to the audit log).
Fields§
§bytes: Vec<u8>§blake3_hex: String§size: u64§resolved: PathBufCanonicalized path that passed the policy check. Returned so the audit log captures the resolved-not-the-typed path.
Trait Implementations§
Source§impl Clone for AcceptedAttachment
impl Clone for AcceptedAttachment
Source§fn clone(&self) -> AcceptedAttachment
fn clone(&self) -> AcceptedAttachment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AcceptedAttachment
impl RefUnwindSafe for AcceptedAttachment
impl Send for AcceptedAttachment
impl Sync for AcceptedAttachment
impl Unpin for AcceptedAttachment
impl UnsafeUnpin for AcceptedAttachment
impl UnwindSafe for AcceptedAttachment
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