pub struct PluginObservation { /* private fields */ }Expand description
Untrusted observation draft accepted by the host recorder.
Implementations§
Source§impl PluginObservation
impl PluginObservation
Sourcepub fn new(
kind: EvidenceKind,
predicate: KnowledgePredicate,
value: EvidenceValue,
method: impl Into<String>,
) -> Result<Self, PluginError>
pub fn new( kind: EvidenceKind, predicate: KnowledgePredicate, value: EvidenceValue, method: impl Into<String>, ) -> Result<Self, PluginError>
Creates a bounded observation draft without subject or claim authority.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PluginObservation
impl RefUnwindSafe for PluginObservation
impl Send for PluginObservation
impl Sync for PluginObservation
impl Unpin for PluginObservation
impl UnsafeUnpin for PluginObservation
impl UnwindSafe for PluginObservation
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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