pub struct ResourceFact {
pub address: String,
pub verb: String,
pub signer: String,
pub predecessors: Vec<String>,
pub fields: BTreeMap<String, SExpr>,
pub language: Option<String>,
pub thread: Option<String>,
pub from: Option<SExpr>,
pub bindings: Option<Vec<SExpr>>,
pub identity: [u8; 32],
}Expand description
Rule-relevant projection of an authenticated, identity-checked native act.
No Message or application content is retained. identity commits the original
canonical Simple identity for duplicate checks; signature bytes are absent.
Fields§
§address: String§verb: String§signer: String§predecessors: Vec<String>§fields: BTreeMap<String, SExpr>§language: Option<String>§thread: Option<String>§from: Option<SExpr>§bindings: Option<Vec<SExpr>>§identity: [u8; 32]Trait Implementations§
Source§impl Clone for ResourceFact
impl Clone for ResourceFact
Source§impl Debug for ResourceFact
impl Debug for ResourceFact
impl Eq for ResourceFact
Source§impl PartialEq for ResourceFact
impl PartialEq for ResourceFact
impl StructuralPartialEq for ResourceFact
Auto Trait Implementations§
impl Forget for ResourceFact
impl Freeze for ResourceFactwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, SExpr> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, SExpr)>>: Freeze,
PhantomData<SExpr>: Freeze,
impl Move for ResourceFact
impl RefUnwindSafe for ResourceFact
impl Send for ResourceFact
impl Sync for ResourceFact
impl Unpin for ResourceFact
impl UnsafeUnpin for ResourceFactwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, SExpr> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, SExpr)>>: UnsafeUnpin,
PhantomData<SExpr>: UnsafeUnpin,
impl UnwindSafe for ResourceFact
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