pub struct Report {
pub sealed: u8,
pub provider: [u8; 32],
pub seal_key_id: Option<[u8; 8]>,
}Expand description
A caller’s seal report on one exchange, with the three fields every SDK
names alike (macula’s sealed, provider, seal_key_id). sealed is 1
when the request that produced the result was sealed and its answer opened
under the same key, whose id seal_key_id names, and 0, with no key id,
for a clear exchange. provider is the node the request was addressed
to: for a sealed result also the one whose answer opened, for a clear one
the target and no claim about who answered.
Fields§
§sealed: u8§provider: [u8; 32]§seal_key_id: Option<[u8; 8]>Trait Implementations§
impl Copy for Report
impl Eq for Report
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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