pub struct ResourceAttributes {
pub data_class: DataClass,
pub owner_tenant: u64,
pub stream_name: String,
pub retention_days: Option<u32>,
pub correction_allowed: bool,
pub legal_hold_active: bool,
pub requested_fields: Option<Vec<String>>,
}Expand description
Attributes describing the resource being accessed.
Populated from stream metadata and the data catalog at query time.
Fields§
§data_class: DataClassThe data classification of the resource.
owner_tenant: u64The tenant that owns this resource.
stream_name: StringThe name of the stream being accessed.
retention_days: Option<u32>Configured retention period in days (for SOX 7yr, HIPAA 6yr, PCI 1yr checks).
correction_allowed: boolWhether data correction/amendment is enabled for this resource.
legal_hold_active: boolWhether this resource is under a legal hold (prevents deletion).
requested_fields: Option<Vec<String>>Specific fields being requested (for field-level restriction checks).
Implementations§
Trait Implementations§
Source§impl Clone for ResourceAttributes
impl Clone for ResourceAttributes
Source§fn clone(&self) -> ResourceAttributes
fn clone(&self) -> ResourceAttributes
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 ResourceAttributes
impl Debug for ResourceAttributes
Source§impl<'de> Deserialize<'de> for ResourceAttributes
impl<'de> Deserialize<'de> for ResourceAttributes
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResourceAttributes, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResourceAttributes, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ResourceAttributes
impl Serialize for ResourceAttributes
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
Auto Trait Implementations§
impl Freeze for ResourceAttributes
impl RefUnwindSafe for ResourceAttributes
impl Send for ResourceAttributes
impl Sync for ResourceAttributes
impl Unpin for ResourceAttributes
impl UnsafeUnpin for ResourceAttributes
impl UnwindSafe for ResourceAttributes
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more