pub struct StableObservationSubject {
pub resource_id: Option<String>,
pub facets: Vec<ToolSemanticFacet>,
pub member_namespaces: Vec<String>,
pub summary: String,
}Expand description
A receipt subject an adapter reports verbatim, published ahead of any call so the executor’s checklist can bind to identities that receipts will actually carry. A checklist target outside every advertised subject and member namespace can never be credited, so the checklist tool refuses to compile it into an exact obligation.
Fields§
§resource_id: Option<String>Exact ResourceId the adapter reports for a fixed collection or
singleton subject, when that identity is known before the call.
facets: Vec<ToolSemanticFacet>Facets a receipt for this subject or its members can carry.
member_namespaces: Vec<String>ResourceId prefixes of exact member identities the adapter or the
runtime mints (for example auth_profile:). A value under a prefix is
exact and is credited only by a receipt naming it.
summary: StringShort model-facing meaning of the subject.
Implementations§
Trait Implementations§
Source§impl Clone for StableObservationSubject
impl Clone for StableObservationSubject
Source§impl Debug for StableObservationSubject
impl Debug for StableObservationSubject
Source§impl<'de> Deserialize<'de> for StableObservationSubject
impl<'de> Deserialize<'de> for StableObservationSubject
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
impl Eq for StableObservationSubject
Source§impl PartialEq for StableObservationSubject
impl PartialEq for StableObservationSubject
Source§impl Serialize for StableObservationSubject
impl Serialize for StableObservationSubject
impl StructuralPartialEq for StableObservationSubject
Auto Trait Implementations§
impl Forget for StableObservationSubject
impl Freeze for StableObservationSubject
impl Move for StableObservationSubject
impl RefUnwindSafe for StableObservationSubject
impl Send for StableObservationSubject
impl Sync for StableObservationSubject
impl Unpin for StableObservationSubject
impl UnsafeUnpin for StableObservationSubject
impl UnwindSafe for StableObservationSubject
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