pub struct SenseOutput {
pub uri: String,
pub data: Value,
pub trace: Value,
}Expand description
Result of crate::visitor::sense.
data is {"mycelium": manifest} or {"spore": manifest} depending on
the URI content type. trace carries resolution metadata (DNS, caching,
signature verification).
Fields§
§uri: String§data: ValueResolved content — a mycelium manifest or spore manifest.
trace: ValueResolution metadata: DNS, cmn.json caching, signature verification.
Trait Implementations§
Source§impl Clone for SenseOutput
impl Clone for SenseOutput
Source§fn clone(&self) -> SenseOutput
fn clone(&self) -> SenseOutput
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 SenseOutput
impl Debug for SenseOutput
Source§impl<'de> Deserialize<'de> for SenseOutput
impl<'de> Deserialize<'de> for SenseOutput
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
Auto Trait Implementations§
impl Freeze for SenseOutput
impl RefUnwindSafe for SenseOutput
impl Send for SenseOutput
impl Sync for SenseOutput
impl Unpin for SenseOutput
impl UnsafeUnpin for SenseOutput
impl UnwindSafe for SenseOutput
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