pub struct EvidenceExportQuery {
pub capability_id: Option<String>,
pub agent_subject: Option<String>,
pub since: Option<u64>,
pub until: Option<u64>,
pub tenant: Option<String>,
}Expand description
Full-export query used for offline evidence packaging.
Fields§
§capability_id: Option<String>§agent_subject: Option<String>§since: Option<u64>§until: Option<u64>§tenant: Option<String>Phase 1.5 multi-tenant receipt isolation: restrict the export to a single tenant so exported evidence bundles carry the tenant tag end-to-end. MUST be derived from the operator’s authenticated tenant claim; callers MUST NOT let the agent choose this value.
Implementations§
Source§impl EvidenceExportQuery
impl EvidenceExportQuery
pub fn as_receipt_query(&self, cursor: Option<u64>) -> ReceiptQuery
pub fn child_receipt_scope(&self) -> EvidenceChildReceiptScope
Trait Implementations§
Source§impl Clone for EvidenceExportQuery
impl Clone for EvidenceExportQuery
Source§fn clone(&self) -> EvidenceExportQuery
fn clone(&self) -> EvidenceExportQuery
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 moreSource§impl Debug for EvidenceExportQuery
impl Debug for EvidenceExportQuery
Source§impl Default for EvidenceExportQuery
impl Default for EvidenceExportQuery
Source§fn default() -> EvidenceExportQuery
fn default() -> EvidenceExportQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EvidenceExportQuery
impl<'de> Deserialize<'de> for EvidenceExportQuery
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EvidenceExportQuery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EvidenceExportQuery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EvidenceExportQuery
Source§impl PartialEq for EvidenceExportQuery
impl PartialEq for EvidenceExportQuery
Source§fn eq(&self, other: &EvidenceExportQuery) -> bool
fn eq(&self, other: &EvidenceExportQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EvidenceExportQuery
impl Serialize for EvidenceExportQuery
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for EvidenceExportQuery
Auto Trait Implementations§
impl Freeze for EvidenceExportQuery
impl RefUnwindSafe for EvidenceExportQuery
impl Send for EvidenceExportQuery
impl Sync for EvidenceExportQuery
impl Unpin for EvidenceExportQuery
impl UnsafeUnpin for EvidenceExportQuery
impl UnwindSafe for EvidenceExportQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.