pub struct EngineImportAdviceReadbackV1 { /* private fields */ }Expand description
Strict read-side representation of one import-advice document.
Implementations§
Source§impl EngineImportAdviceReadbackV1
impl EngineImportAdviceReadbackV1
Sourcepub const fn tool(&self) -> &EngineImportAdviceToolReadbackV1
pub const fn tool(&self) -> &EngineImportAdviceToolReadbackV1
Validated producer identity.
Sourcepub const fn identity(&self) -> &EngineImportAdviceIdentityV1
pub const fn identity(&self) -> &EngineImportAdviceIdentityV1
Canonical advice identity.
Sourcepub const fn prediction_provenance(&self) -> &PredictionProvenanceV1
pub const fn prediction_provenance(&self) -> &PredictionProvenanceV1
Shared exact provenance.
Sourcepub const fn state(&self) -> EngineImportAdviceStateV1
pub const fn state(&self) -> EngineImportAdviceStateV1
Advice state.
Sourcepub const fn refusal_reason(&self) -> Option<EngineImportAdviceRefusalReasonV1>
pub const fn refusal_reason(&self) -> Option<EngineImportAdviceRefusalReasonV1>
Typed refusal reason.
Sourcepub fn clips(&self) -> &[EngineImportAdviceClipV1]
pub fn clips(&self) -> &[EngineImportAdviceClipV1]
Validated clip evidence.
Sourcepub const fn payload(&self) -> &EngineImportAdvicePayloadV1
pub const fn payload(&self) -> &EngineImportAdvicePayloadV1
Validated profile-specific payload.
Trait Implementations§
Source§impl Clone for EngineImportAdviceReadbackV1
impl Clone for EngineImportAdviceReadbackV1
Source§fn clone(&self) -> EngineImportAdviceReadbackV1
fn clone(&self) -> EngineImportAdviceReadbackV1
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 EngineImportAdviceReadbackV1
impl RefUnwindSafe for EngineImportAdviceReadbackV1
impl Send for EngineImportAdviceReadbackV1
impl Sync for EngineImportAdviceReadbackV1
impl Unpin for EngineImportAdviceReadbackV1
impl UnsafeUnpin for EngineImportAdviceReadbackV1
impl UnwindSafe for EngineImportAdviceReadbackV1
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